The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I'm logged into quickbooks online on Power BI desktop just fine and everything refreshes. I published it to my workspace and went to set an autorefresh and it asked me to log into QBO. I logged in but then I get this error message. It's the same credentials from the desktop. Does anyone know how to fix this? Thanks!
Failed to update data source credentials: ODBC: ERROR [IM004] [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failedHide details
Activity ID: | 1c8e67db-60c0-4056-90f5-3efe6e5afa5c |
Request ID: | 4601c7a8-e9be-cec4-4eb5-36e26c348c64 |
Status code: | 400 |
Time: | Fri Mar 01 2024 17:46:48 GMT-0500 (Eastern Standard Time) |
Service version: | 13.0.22729.74 |
Client version: | 2402.3.18145-train |
Cluster URI: | https://wabi-us-north-central-b-redirect.analysis.windows.net/ |
Hi. Im having the same issue as this however my has been working previously for 2+ years and has only in the last week or 2 started getting this error. Nothing has changed my side. I didn't have to use a gateway previously but I have also tried with our gateway and it still doesn't work.
Thanks
I got this error when trying to sign in after setting up the gateway
Hi @fhovey ,
The error message "Error while reading configuration file:C:\Program Files\On-premises data gateway\m\ODBC Drivers\Simba Quickbooks ODBC Driver\QuickBooksODBC.mdef" means:
There is a problem with the configuration file.
Please make sure the file path is correct and that the file exists in this location.
If the file or path is incorrect, please adjust it to the correct location.
The error message "Unable to connect to the data source. Either the data source is inaccessible, a connection timeout occurred, or the data source credentials are invalid." means:
There is a problem with the data source credentials or they have occurred.
Please double check that the credentials used for the QuickBooks data source are correct, you may need to update or re-enter the credentials in the gateway configuration.
If you have any other questions please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
But why would I need an on-prem gateway to begin with since QBO is online?
Hi @fhovey ,
Do you mean your dataset is on a cloud service and not on-premises?
If your dataset is on a cloud service you really do not need a gateway.
If your dataset is local and connected through Power BI Desktop and then published to Power BI Service, a gateway is required.
In your original problem description, the 400 status code indicates that the data source credentials are incorrect.
Can you make sure that under the dataset settings you have updated the credentials to the correct location?
Maybe you can use OAuth2 authentication instead of basic authentication.
If you have any further questions please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Yea it's quickbooks online. I've logged in fine on the desktop and the credentials work there. But when I push it to the service the same credentials don't work.
Hi @fhovey ,
The 400 error code indicates that the data source credentials are incorrect.
Can you make sure that under the dataset settings you have updated the credentials to the correct location?
Maybe you can use OAuth2 authentication instead of basic authentication.
These two cases may be helpful to your problem.
Solved: Refresh failed - Status code 400 - Microsoft Fabric Community
Solved: Status code 400 - Microsoft Fabric Community
If you have any further questions please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
It doesn't give me the option to select basic auth
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
53 | |
26 | |
14 | |
14 | |
12 |
User | Count |
---|---|
103 | |
37 | |
25 | |
23 | |
20 |