Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MariaEriksson
New Member

DataSource error Business central

When trying to access data from SalesOrder in Business Central I get this error message, anyone knows what it means? I'm using the standard APIs v2.0. 

DataSource.Error: Dynamics365BusinessCentral: Request failed: The remote server returned an error: (400) Bad Request. (Cannot modify a record. Current connection intent is Read-Only. CorrelationId: ______)

Details:
DataSourceKind=Dynamics365BusinessCentral
DataSourcePath=Dynamics365BusinessCentral

Url=https://api.businesscentral.dynamics.com/v2.0/___________/api/v2.0/salesOrders?company=_______

 

I can access other tables from the databas such as customers etc.

8 REPLIES 8
jayasurya_prud
Helper II
Helper II

This helped me to overcome the same issue . Thanks!

cobracongr
New Member

MS changed someting in Feb 2022. Check out this article. Basically at the screen you get the error, select the "Transform Data" button, choose the advanced editor and then replace the last null paramenter in the list with this value:

[UseReadOnlyReplica = false]

 Worked for me.

Thank you, this was the solution for my problem!

callenbkd
Helper I
Helper I

It's not the credentials, especially if you can access other tables. 

callenbkd
Helper I
Helper I

A client of mine has the same problem. I tried on my system and also had that issue. 

MariaEriksson
New Member

I have tried that too, but it doesn't work.

MariaEriksson
New Member

I have tried that already. I have this issue at two different customers. I have tried to clear permission and I have also tried with different Microsoft account.

amitchandak
Super User
Super User

@MariaEriksson , seems like Problem with URL of credentials

 

If already saved in power bi-> in datasource setting clear permission and try again

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.