Forum Discussion
Issues updating Snowflake credentials via the API
Hi jjgray-sl ,
This issue should be caused by wrong data source credential.
Please check whether your have add the correct credential parameter into your code.
You can remove the failing data sources in data source setting, then add the correct credential into your gateway manually.
Here is a solved post with same issue like yours, you may refer to it to learn more details.
Solved: Failed to test the connection to your data source.... - Microsoft Power BI Community
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous,
I've checked the credentials in the code and they are correct. I am able to use them to manually configure the data source in the web UI.
Unfortunately manually adding credentials is not sufficient for my use-case. Ideally we would be using this endpoint to change the credentials.