Troubleshooting
To help troubleshoot issues with API Assistant
Unable to use API Assistant
Symptoms
After redirected to VS Code, API Assistant displays the following error message: Error unable to fetch user.
Causes
This issue occurs if there is a problem with user authentication or API Assistant configuration.
Resolving the problem
Click IBM API Assistant menu , and select New chat.
API Assistant displays an error
Symptom
You can view an error in the VS Code after entering the following prompt: create an API
with order demo purchase order
.
Cause
The APIGenerator tool unable to find the source ID from the API Assistant sources section.
Resolving the problem
To resolve the problem, complete the following steps:
- Re-enter the prompt
create an API with order demo purchase order
in the Type something field. - Open API Connect, and go to the API Assistant tab.
- From the Database tables sub-section, select the source from the table, and open Network
inspector.
- Find the source ID.
- In VS Code, click Edit plan.
- Enter the source ID in the /source_ID field, and click Save.
- Click Start.