cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

VSCode Fiori App Odata Metadata failed

ChrisSWFL
Discoverer
0 Likes
778

Hello everyone,

I'm currently learning about Fiori app development with VS Code and have tried to develop my first "app." I'm encountering the following error:

ChrisSWFL_0-1742205229737.png

ChrisSWFL_1-1742205249869.png

I feel like the app is crashing on the Entra login window, telling me it hasn't received any data. Has anyone encountered the same issue?

 

Accepted Solutions (0)

Answers (2)

Answers (2)

ArunJacob
Active Participant
0 Likes

ok Chris, if you're asked to select a SAML 2.0 Identity Provider while querying metadata, it means the system requires authentication via Single Sign-On (SSO). You can select the appropriate Identity Provider (IdP)-entraId(based on your organization’s sso setup). Please check with your BASIS team to confirm the correct option.

Regards,

Jakes

ChrisSWFL
Discoverer
0 Likes

Hey Jakes, thanks for your reply. If I click Continue or Cancel, I can log in regularly. I just think the app is stuck there. Regards, Chris

ArunJacob
Active Participant
0 Likes

Hi Chris, 

Can you access the metadata directly in the browser using the following format?

https://<SAP_GATEWAY_HOST>/sap/opu/odata/sap/ZMY_SERVICE_SRV/$metadata

If yes, then the issue is with the UI5 configuration in VS Code. Please check the manifest.json file—does it look similar to the following?

 

"dataSources": {
  "mainService": {
    "uri": "/sap/opu/odata/sap/ZMY_SERVICE_SRV/",
    "type": "OData",
    "settings": {
      "odataVersion": "2.0"
    }
  }
}

 

Please check out some tutorials on using VS Code and configuring services in the developer tutorials. here..

ChrisSWFL
Discoverer

Hey Jakes2255,

I have these settings in my VS Code settings. I think the problem is the EntraID window. When I access the URL, the following screen appears:

ChrisSWFL_0-1742209055958.png