cancel
Showing results for 
Search instead for 
Did you mean: 

Issue creating X-CSRF-TOKEN in CPI

varunvichare
Explorer
0 Kudos

Hello Experts,

I am trying to access the below integration content API to generate X-CSRF-Token in CPI. I am able to generate token successfully in POSTMAN but the same fails in CPI with status code 401 error. Attached are the configurations done in CPI. Request you to please suggest a suitable solution for this issue.

https://api.sap.com/api/IntegrationContent/resource/CSRF_Token_Handling

Regards,

Varun Vichare.

View Entire Topic
varunvichare
Explorer
0 Kudos

Hello Folks,

The issue got resolved after using Authorization header with Bearer Token. I was getting issue in POSTMAN as well using APIKey header thus I tried using this header and it worked in CPI as well as in POSTMAN.