Oracle Analytics Cloud and Server Idea Lab

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Ability To Pass Multiple Parameters While Creating DV Connection To REST API Endpoint (Preview)

Needs Votes
52
Views
2
Comments

While creating a data visualization (DV) connection of type REST API (preview feature) to connect to Oracle Primavera Cloud REST Endpoint https://<hostname>/api/restapi/workspace , it fails with the error "Invalid connection details supplied"

The steps mentioned in the document below are followed:

https://docs.oracle.com/en/cloud/paas/analytics-cloud/acsds/connect-data-rest-endpoints.html#GUID-EDEB66AF-D759-4B12-A6ED-73A1EC6EE721

The authentication type is HttpHeader to pass the Bearer Token.

While testing this REST endpoint using a third party tool by passing the following parameters, it works fine.

Authorization Bearer <<accessToken>>

x-prime-identity-app << x-prime-identity-app>>

x-prime-tenant << x-prime-tenant>>

x-prime-region << x-prime-region>>

When passing only the bearer token, it fails with "401 Authorization Required" error. This proves that, in addition to passing the bearer token, it is also necessary to pass the additional parameters such as, x-prime-identity-app, x-prime-tenant and x-prime-region.

Currently there is no option to send multiple headers apart from the Authorization header using REST API DV connection. This looks like a product limitation.

The idea is to incorporate the functionality of passing more than one parameters using REST API DV connection.

2
2 votes

Needs Votes · Last Updated

Comments