cancel
Showing results for 
Search instead for 
Did you mean: 

An error occurred while communicating with the OData server to retrieve metadata.

Luis1001
Explorer
0 Kudos
360

Hello, Specialist!

After creating the application in the program /MERP/CORE_CPMS_APPCREATE_PROG, we encountered the following issue:

When accessing the application via QR code, it returns a persona error with the following log message:
"Error caused by: [-100010] Retrieve metadata failed because the OData server returned HTTP code 403, with message: Access denied to system xxxxx. In case this was a valid request, ensure to expose the system correctly in your cloud connector."

Luis1001_0-1732727429071.png

Additionally, some other errors were observed. We are currently using version 2205, which was configured in Syclo; however, the application seems to be pulling information from version 2405.

Thank you in advance for your support

Accepted Solutions (0)

Answers (2)

Answers (2)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

If you are able to retrieve the $metadata in the Gateway system, the problem is likely in the cloud connector setup. You should review the setup and check what might be missing.

What SSO mechanism have you configured for the destinations in the mobile services? Is it Basic Authentication or Cloud Connector SSO?

Luis1001
Explorer
0 Kudos
hello, No SSO mechanism has been configured; I am using basic authentication in the mobile service.
Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

@Luis1001Please check if the metadata is retrieved from the backend (via Cloud Connector) in Mobile Services. Please do the following:

  1. In the Mobile Connectivity section, click the Launch in Browser icon for the given destination. This should open a new tab.
  2. Verify if the OData service document is displayed. You can append $metadata to the URL to check if the metadata is successfully retrieved.
    • If successful, the metadata should be visible.
    • If not, do you get any error? 
Luis1001
Explorer
0 Kudos

Hello @Jitendra_Kansal

When accessing, this message is returned for both connectors of the mobile service.

Luis1001_1-1733224598882.png

Access denied to resource /sap/opu/odata/MERP/SAP_ONLINE_LOOKUP_EXT_2205 on system xxxx. In case this was a valid request, ensure to expose the resource correctly in your cloud connector.

However, when testing the connection via /IWFND/SUTIL_GW_CLIENT (SAP Gateway), it returns a 200 status for this connection as shown in the image.

Luis1001_5-1733225272391.png

Performing a test by using the address with the back-end connector, it returns this error.

Luis1001_4-1733225146769.png

Thank you in advance!