cancel
Showing results for 
Search instead for 
Did you mean: 

CCO Manager API GET /loyalty/accounts error code 902

AaronMendieta
Participant
687

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!

View Entire Topic
anderson_schmitt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pablo,

Is your SAP Customer Checkout manager running on Multi-tenant scenario?

Regards,
Anderson

AaronMendieta
Participant
0 Kudos

Hi Mr. anderson.schmitt,

Thanks and advance for taking the time to answer.

No, my SAP CCO Manager is not running on Multi-tenant scenario.

Best Regards!

arunparthan
Explorer
0 Kudos
Hello, Is there any way to get all customer users & loyalty accounts in FP19 API?