You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.
When I click on deploy on Cloud Foundry a toolchain gets created, however after a successful build and deployment stages, the app isn't running showing the following errors below:
The app failed to initialize properly. Setup and restart needed. Error: Error. Unable to list workspaces for Assistant: Forbidden: Access is denied due to invalid credentials.
message: 'Access is denied due to invalid credentials.',
body: '{"code":403,"error":"Forbidden"}',
The text was updated successfully, but these errors were encountered:
@ahmedmfarahat Don't know how to fix the cloud yet, but here is a workaround...
Go to your IBM Cloud Resource list and find the Assistant service. Not the CF one that is just a link but the plain ol' service that it links to. (If you are unsure which one, then follow the app to the CF service and follow its link to the real service). Click on the real assistant service and you should see a Manage tab showing an API key and a URL. Copy those.
So the problem is that your CF app has a runtime environment variable (VCAP_SERVICES) with the wrong apikey. We can fix the app by adding the correct runtime environment variables with the following keys:
key: ASSISTANT_URL value:
key: ASSISTANT_APIKEY value
It should look something like this (w/ my specific values here cut-off) and the when you save both values the app should restart and just work :)
I changed my WA credentials through cloud.ibm.com > resource list > your CF app > runtime environment, Added ASSISTANT_APIKEY AND ASSISTANT_URL and app restated automatically then worked perfectly. Thank you!
When I click on deploy on Cloud Foundry a toolchain gets created, however after a successful build and deployment stages, the app isn't running showing the following errors below:
The app failed to initialize properly. Setup and restart needed. Error: Error. Unable to list workspaces for Assistant: Forbidden: Access is denied due to invalid credentials.
message: 'Access is denied due to invalid credentials.',
body: '{"code":403,"error":"Forbidden"}',
The text was updated successfully, but these errors were encountered: