Forum Discussion
Cannot convert value null to type Record in online refresh only but all good in Power Bi desktop
- Anonymous1 year ago
Solved: The latest version of the connector no longer perm... - Microsoft Fabric Community
found a solution here, please try it, hope it helps!
Anonymous Megafix_Hudson DarrenWright
Latest Update This solution here works
Have you tried the fix on the below link?
https://www.reddit.com/r/PowerBI/comments/1f7yadg/data_conversion_error_on_refresh/
We encountered the same error and by adjusting the 4th parameter on the API call, the problem went away
Before:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, null)
After:
Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = null])
AFter changing this API call, all went well for 1 month. Now the problem re-occurs. SOmething else has changed?
- Henke63731 year agoFrequent Visitor
After changing this, it all went okay:
Changes:
from: Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = null])
to: Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = true])