Comments (3)
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.
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.
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)
- Error: The redirect_uri has an invalid domain HOT 1
- 404 Error HOT 2
- [rl-reuse_tool-1] Violation against OSS Rules of Play
- [rl-reuse_tool-3] Violation against OSS Rules of Play
- [rl-reuse_tool-4] Violation against OSS Rules of Play
- [rl-reuse_tool-1] Violation against OSS Rules of Play
- [rl-reuse_tool-3] Violation against OSS Rules of Play
- [rl-reuse_tool-4] Violation against OSS Rules of Play
- Unable for manual deploy HOT 1
- Unit 3: Business Partner Value list doesn't work when trying to choose a BP HOT 1
- Getting the "Issue: Approuter invalid redirect_uri" to work HOT 1
- Fiori Elements exercise error with SAPUI5 Flexibility Service / Layered Repository HOT 2
- Couldn't find a CDS model for '*' in /home/user/projects/risk-management HOT 1
- No Options in SAP HANA Database Availability Zone and Replicas Screen HOT 1
- Deployment does not work at all HOT 1
- Feature request: Show a working example of multitenancy HOT 2
- Unable to run CLI on Windows HOT 1
- [rl-reuse_tool-1] Violation against OSS Rules of Play
- [rl-reuse_tool-3] Violation against OSS Rules of Play
- [rl-reuse_tool-4] Violation against OSS Rules of Play
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btp-side-by-side-extension-learning-journey.