API 1.4. JWT validation to https://api.omniture.com/admin/1.4/rest/?method=DataSources.UploadData | Community
Skip to main content
Level 2
June 14, 2021

API 1.4. JWT validation to https://api.omniture.com/admin/1.4/rest/?method=DataSources.UploadData

  • June 14, 2021
  • 3 replies
  • 1686 views

Hi There,

 

We are able to generate successfully the token and correctly added in the headers (using SAP PO), but when posting to: https://api.omniture.com/admin/1.4/rest/?method=DataSources.UploadData , AA is not accepting the data.

Is there something to be enabling at https://api.omniture.com/admin/1.4/rest/?method=DataSources.UploadData to accept the JWT token from SAP PO or in SAP PO?

 

Thanks so much!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Adobe Employee
June 14, 2021

You will need to generate the access token using the generated JWT and then use the access token in your API request. https://github.com/AdobeDocs/adobeio-auth/blob/stage/JWT/JWT.md#exchanging-jwt-to-retrieve-an-access-token

 

Could you check if this was done?

Level 2
June 14, 2021

yes, that was done. Rightly done. SAP PO is supported, correct?

 

shelly-goel
Adobe Employee
Adobe Employee
June 14, 2021

@isabelmayo  What's the error you're getting? Is it the authorization error? Try it with postman to see if it can be SAP PO issue?

Adobe Employee
June 15, 2021

@isabelmayo ,

It could be an issue with the API request as well. Could you please check if your requests meets all the requirements as mentioned in the link below:
https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/data-sources-api/methods/r_uploadDataDataSources.md

 

If you still facing issue, please submit a clientcare ticket with details like API Endpoint, API request and response.