Forum Discussion
undefinedPower BI error NULL
- 1 year ago
The latest version of the connector no longer permits the 4th parameter to be null.
Please try the following solution:
Before:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, null)After:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = null])
Exactly the same error here as well with Business Central as the data source.
Data source error: Expression.Error: The OData connector failed with the following error: We cannot convert the value null to type Record... . The exception was raised by the IDbCommand interface. Table: xxx
I've been doing some testing and I can refresh the report locally in Power BI Desktop which works fine, but I get this error when I publish to the Power BI service? If anyone can suggest anything I'm all-ears...
- Dejan-Pajk1 year agoAdvocate II
The latest version of the connector no longer permits the 4th parameter to be null.
Please try the following solution:
Before:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, null)After:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = null])- Sailor10001 year agoFrequent Visitor
Hi Dejan-Pajk
It solved my problem.
A lot of work know updating all the queries.
Do you think Microsoft will fix this? Becouse I created a new dataset for tests, and got the same problem.
Thank you! - keinshah1 year agoHelper I
Hi Dejan,
I am getting the below error on the same data set starting today.
OLE DB or ODBC error: [DataSource.Error] OData: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
Any idea how to solve this?
- pdolan_tapco1 year agoFrequent Visitor
This means the timeout on the server that you are pulling from is two small or the dataset you are pulling is too large, either limit your query or have your DBA extend the timeout on the server you are pulling from. Or Limit the Number of records and paginate if this is BusinessCentral