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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Xiaoying
New Member

Cannot convert value null to type Record in online refresh only but all good in Power Bi desktop

Hi there,

I got the error message when refresh online both scheduled and on demand as below.

Xiaoying_0-1725840864871.png

Then I downloaded it to open in desktop and refreshed, it was all good and no error, so I refreshed on desktop version and re-published the report. 

The online scheduled refresh keeps on getting this error and I cannot find a reason in the desktop version since there is no error in desktop.

 

 

1 ACCEPTED SOLUTION
17 REPLIES 17
Idrissshatila
Super User
Super User

@Xiaoying @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])



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




AFter changing this API call, all went well for 1 month. Now the problem re-occurs. SOmething else has changed?

After changing this, it all went okay:

Changes:

from: Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = null])

to: Dynamics365BusinessCentral.ApiContentsWithOptions(null, null, null, [UseReadOnlyReplica = true])

Idrissshatila
Super User
Super User

Hello @Xiaoying @Megafix_Hudson @DarrenWright 

I opened an issue with microsoft support to investigate it, you can follow the issue in the link to know the latest update regarding this issue
https://community.fabric.microsoft.com/t5/Issues/The-OData-connector-failed-with-the-following-error...

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thanks, i found the solution yesterday in the forum and already shared with them in the below content.

Xiaoying
New Member

In addition, the tables are from Dynamics 365 Business Central. I wonder if other connectors have the same error?

Yeah mine are from BC aswell, currently I'm just manually refreshing the report an publishing it. Not ideal and very manual but better than nothing.

The same, I got several reports need to be refreshed twice a day, now have to do it manually... Thanks for your reply!

Megafix_Hudson
Regular Visitor

Yeah im getting this:

Megafix_Hudson_0-1725842234926.png

 

DarrenWright
New Member

Hi

I started receiving the same error message for Semantic models that have not been changed to months.

DarrenWright_0-1725841868391.png

The online schedule refreshed the data every night and has been successful until now. If I open the report in the Desktop app it refreshes with no issues.

This worked for me too. Much appreciated 🙂

I am also connecting to BC and there are other posting regarding this issue on this forum.

Thanks for letting me know. hope the error be fixed soon!

Megafix_Hudson
Regular Visitor

I'm getting the same error, started yesterday. Hopefully they fix it soon.

Hi thanks for your reply! Yes this started from yesterday. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors