Expand my Community achievements bar.

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

Avatar

Level 2

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

Avatar

Employee Advisor

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?

Avatar

Level 2

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

 

SAP_PO_Error.jpg

Avatar

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

Avatar

Employee

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