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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

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
Regular Visitor

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

callenbkd
Regular Visitor

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors