on 2022 May 09 9:46 PM
Hi experts,
I have been trying to retrieve all loyalty accounts that are bound to my current user (just as described in API documentation), however, I have been getting an error 902 as a response.
{
"errorCode": "902",
"errorMessage": "Unauthorized"
}
I have already read the instructions found in the next SAP note for API consumption
https://launchpad.support.sap.com/#/notes/3014950
1.- I consume
POST api/auth/admin sending in body my corresponding user credentials
2.- I get the csrf token as well as the session ID in the response
3.- I consume
GET api/loyalty/accounts specifiying the X-CSRF-Token in headers
4.- I have even tried the step described in the next SAP Community Blog
https://answers.sap.com/questions/650826/error-cco-manager-api.html
which is adding the JSESSIONID, however, I get the same result.
5.- I have tried to perform the consumption in Swagger UI (specifying the corresponding CSRF Token at the top in Authorize section) as well but the result is the same:
In order to confirm that this issue is not happing with every single service of my tenant, I tried consuming Giftcards and the response was successful (adding the CSRF token was sufficient)
Any help will be really appreciated, thanks for your attention and best Regards!
Hi Pablo,
Is your SAP Customer Checkout manager running on Multi-tenant scenario?
Regards,
Anderson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
25 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.