cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error SAML API SAP Analytics Cloud (SAC)

Adec
Newcomer
0 Likes
467

Hello,

I am currently testing API calls on SAP Analytics Cloud.

My goal is to successfully trigger a data import job using this API.

I have broken down the problem into two distinct functions. The first one is used to retrieve the token. This step works without any issues when I provide my CLIENT_ID and CLIENT_SECRET.

The error occurs in the second part, which involves starting the job. When I call the relevant API and pass my previously retrieved token as a parameter, it returns the SAML login page...

Has anyone encountered this problem before? Do you have a solution?

Thanks you 🙂 
Have a nice day 🙂

Accepted Solutions (0)

Answers (1)

Answers (1)

Matthew_Shaw
Product and Topic Expert
Product and Topic Expert

Your request is badly formed. Best to start with a working example. Please use one of my samples Postman Collections for API's with SAP Analytics Cloud. I've not created any for the API you want to use here, but they all conform to the same standard. So the endpoint will need to change (of course) but the basis of the requests to get the access_token and csrf-token are all the same.

SCIM samples https://community.sap.com/t5/technology-blogs-by-sap/sap-analytics-cloud-user-and-team-provisioning-...

Export Data samples https://community.sap.com/t5/technology-blogs-by-sap/sap-analytics-cloud-export-data-api-sample-scri... 

I've written a few more, but these are some good starters for you.

All the best, Matthew