cancel
Showing results for 
Search instead for 
Did you mean: 

OData services not available in VSCODE

Robert_Schulte
Explorer
128

EDIT: Long story short: it's a bug in the generator, see solution below

 

Hello everybody, 

i got a weird problem when creating a Fiori Elements application for an OData V4 service on a BTP ABAP instance via the Open Fiori Generator.

While i can see my OData services in BAS and so create the Fiori Elements application, i get a "Services unavailable" in VSCODE.

 

BAS works fineBAS works fine

Open Fiori Generator does not find anythingOpen Fiori Generator does not find anything

But before, when creating the destination in VSCODE via service key, i saw all (a lot more than my 3) services (i assume released APIs?). When i do the "Open Environment Check" in VSCODE, i see my 3 services. 

Adding system via service keys shows a lot of servicesAdding system via service keys shows a lot of services

My three servics are shown in the result of the Environment CheckMy three servics are shown in the result of the Environment Check


Does anybody have a clue? Seems like IDE can access, but Open Generator not?

Best regards,

Robert

EDIT: Put pictures into post instead of adding attachments

 

Robert_Schulte
Explorer

Debug Output of generator shows 401 errors:

WARN: Services unavailable from system: https://xxxxxxxx-0d9f-436b-xxxx-793b3ecaf3b0.abap.us10.hana.ondemand.com. OData version(s): V2, Catalog Request Type: LEGACY. Authentication incorrect! Error: Request failed with status code 401
Robert_Schulte
Explorer

Update: It's a bug in the generator. Interestingly updating the fiori tools does not install the latest version.
Solution is to install the latest version manually via npm install -g @ash_G/generator-fiori. Before maybe you will have to update node.

Accepted Solutions (0)

Answers (0)