- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ERROR 400 - Credentials (SQL)
I am using a personal data gateway but I'm not able to refresh the data, because is showing invaild credetials and error 400. Does anyone know how to fix it?
PS: the user and password is correct
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @jessicabonicenh ,
Since you have tried all the auth possibilities and the error persists, I suggest that you can check if the personal gateway you used is the latest version. If the gateway version is out of date, many problems arise.
And you can check as described below:
1, The username and password used to log in to the data source are not up-to-date. In Power BI, go to the refresh settings for your dataset. In Manage Data Sources, select Edit Credentials to update the credentials for the data source.
2, If one of the sources authenticates using OAuth, the combination of cloud and on-premises sources cannot be refreshed in the gateway (personal mode) in a single query. An example of this problem is the integration of CRM Online with an on-premises instance of SQL Server. Blending will fail to refresh because CRM Online requires OAuth.
Please refer to the following documents.
Troubleshooting Power BI Gateway (Personal Mode) - Power BI | Microsoft Learn
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @jessicabonicenh ,
Since you have tried all the auth possibilities and the error persists, I suggest that you can check if the personal gateway you used is the latest version. If the gateway version is out of date, many problems arise.
And you can check as described below:
1, The username and password used to log in to the data source are not up-to-date. In Power BI, go to the refresh settings for your dataset. In Manage Data Sources, select Edit Credentials to update the credentials for the data source.
2, If one of the sources authenticates using OAuth, the combination of cloud and on-premises sources cannot be refreshed in the gateway (personal mode) in a single query. An example of this problem is the integration of CRM Online with an on-premises instance of SQL Server. Blending will fail to refresh because CRM Online requires OAuth.
Please refer to the following documents.
Troubleshooting Power BI Gateway (Personal Mode) - Power BI | Microsoft Learn
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@jessicabonicenh Well the first guess would be that it doesn't support Basic auth. So does this work fine from Power BI Desktop and only have an issue with the Personal Gateway? Is the Personal Gateway running on the same computer that you run Desktop on?
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello! Thanks for the reply
Well, I already tried all the auth possibilities and the error persists. And the problem only occour on the PBI Service.
I'm not in the same computer that run the gateway, buttt i already tried in the same pc and it shows the same error.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
12-13-2024 11:13 AM | |||
05-20-2024 02:36 AM | |||
07-18-2024 03:42 AM | |||
Anonymous
| 11-01-2024 08:16 AM | ||
03-05-2021 04:53 AM |