Skip to Content
0
Jan 12, 2023 at 08:00 AM

Problem: CAP Project runs into Bad Gateway error

186 Views

Hello SAP-Community,

I'm currently learning how to use CAP and therefore i'm doing the CAP Missions.
Until Step 5 of this Mission https://developers.sap.com/tutorials/hana-cloud-cap-add-authentication.html,everything works fine.

When prompted to use: "cds bind --exec npm start --prefix app" i'm getting a bad gateway error
When promted to use: "cds watch --profile hybrid" i'm getting the following error message:

image.png
The error message should be "unauthorized", so i guess i did a mistake somewhere, but i don't know where.

As i'm still learning cap, i don't know if thats enough context. Just tell me if anyone needs some more information.

Best Regards
Gianluca