cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve metadata failed because the OData server returned HTTP code, 401

thirus11
Participant
0 Kudos

Dear Experts,

Could you please help/support on the below error. Recently we have been facing an issue when accessing the SAP Hybrid App in IPAD, After the successful authentication when the call goes to gateway system we are getting this error. More details on the error 

Error Retrieve metadata failed because the OData server returned HTTP code, 401 with message "Logon Error Message"

The connections is via SAP BTP and we are seeing the same error logs in cloud platform. But I am not able to see any logs in gateways system.

Kindly let me know or help me to fix this issue. This is very urgent 

thirus11_0-1712228818784.png

 

Ryan-Crosby
Active Contributor
0 Kudos
It's a 401 unauthorized error so the logon data needs to be corrected.
thirus11
Participant
0 Kudos
Thanks @Ryan-Crosby, Sure will check that, Is there something that we need to check in cloud connector
Ryan-Crosby
Active Contributor
0 Kudos
What you need to check depends on how you are authenticating to the OData gateway.
thirus11
Participant
0 Kudos
It is based on SSO, we are using ApptoApp SSO and the password for all the users in Gateway system is deactivated
Ryan-Crosby
Active Contributor
0 Kudos
Then you would want to check the SSO configuration that is setup in cloud connector for sure because it's not working.

Accepted Solutions (0)

Answers (1)

Answers (1)

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

But I am not able to see any logs in gateways system.

Did you check the ICM trace, possibly after increasing the trace level? (See transaction SMICM.) Usually some details as to why the login fails, can be seen there.