Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

IsabelMayo
Level 1
Level 1

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!

4 Replies
ishans52004352
Employee
Employee

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...

 

Could you check if this was done?

IsabelMayo
Level 1
Level 1

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

 

SAP_PO_Error.jpg

shelly-goel
Community Advisor
Community Advisor

@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?

vibhatna
Level 5
Level 5

@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_uploadDa...

 

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