Troubleshooting - API Connections Not Working
Trouble seeing the images? Right click on images and open in new tab to enlarge or zoom in on the page (Ctrl + mousewheel).
In this article we cover troubleshooting why you may not be able to connect to your API connection profile inside VDM.
The Problem: Can't connect to database inside VDM via API
The Solution:
1. Open your appsettings.json file for WebReports.
2. Change the "AllowAPIKeysForVDM" from "false" to "true"
Note: If your appsettings file does not have the "APISettings" section, you will need to add it. Please keep in mind if you add the "APISettings" section into your appsettings at the end of the file you will not want to include the comma at the end (the comma separates additional properties inside the appsettings and would result in an invalid file format).
Appsettings.json configuration for disabling user-centric API keys (Default Setting)
"APISettings": {"AllowAPIKeysForVDM": false},
Appsettings.json configuration for enabling user-centric API keys
"APISettings": {"AllowAPIKeysForVDM": true},
Comments
0 comments
Please sign in to leave a comment.