Git Product home page Git Product logo

Comments (3)

janestrong avatar janestrong commented on September 15, 2024

Hi Vishwa,

Have you done this part as well?

"You must set the API key as an environment variable apikey for the productive Cloud Foundry environment. You need to do this manually and just once, by running the following command in your terminal: cf set-env risk-management-srv apikey your-api-key.
Make sure, that you replace "your-api-key" with your API key from the API Business Hub.

With the following command: cf env risk-management-srv you can also verify that the key has been set as user-provided variable.

Run the following command: cf restart risk-management-srv
This ensures that your environment variable change takes effect in the application."

from btp-side-by-side-extension-learning-journey.

markushaug avatar markushaug commented on September 15, 2024

Hi @vran848115,

if you are running into this issue after the deployment, then @janestrong answer will solve your problem.

Even if you have set it locally to the .env file, you also have to restart the app with cds watch.

Does this help?

from btp-side-by-side-extension-learning-journey.

christianjianelli avatar christianjianelli commented on September 15, 2024

I had the same issue with the empty apikey when running locally. Restarting the cds watch solved the problem. Thank you.

from btp-side-by-side-extension-learning-journey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.