web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

BC, PowerBI and OData: Request failed: (500) Internal Server Error

(1) ShareShare
ReportReport
Posted on by 11

Hi.

Yesterday, my dataset startet giving the error "OData: Request failed: The remote server returned an error: (500) Internal Server Error." on the scheduled refresh in PowerBI services.

Im confused as to where to start..

  • The gateway is running.
  • I can refresh fine when refreshing manually on PowerBI Desktop.
  • I have not done any changes.
  • My dataset is not that large, maybe 10-12 million rows spread out on 5 tables.
  • The error given refrences diffrent tables/rows each time
  • And just to clarify, it's not set up with incremental refresh.

{
  "error": {
    "code": "DM_GWPipeline_Gateway_MashupDataAccessError",
    "pbi.error": {
      "code": "DM_GWPipeline_Gateway_MashupDataAccessError",
      "parameters": {},
      "details": [
        { "code": "DM_ErrorDetailNameCode_UnderlyingErrorCode", "detail": { "type": 1, "value": "-2147467259" } },
        { "code": "DM_ErrorDetailNameCode_UnderlyingErrorMessage", "detail": { "type": 1, "value": "OData: Request failed: The remote server returned an error: (500) Internal Server Error. (Internal Server Error)" } },
        { "code": "DM_ErrorDetailNameCode_UnderlyingHResult", "detail": { "type": 1, "value": "-2147467259" } },
        { "code": "Microsoft.Data.Mashup.ErrorCode", "detail": { "type": 1, "value": "10122" } },
        { "code": "Microsoft.Data.Mashup.ValueError.DataSourceKind", "detail": { "type": 1, "value": "OData" } },
        { "code": "Microsoft.Data.Mashup.ValueError.DataSourcePath", "detail": { "type": 1, "value": "https://api.businesscentral.dynamics.com/v2.0/<tenant-id>/<environment>/ODataV4/Company('<company-name>')/ValueEntries" } },
        { "code": "Microsoft.Data.Mashup.ValueError.Reason", "detail": { "type": 1, "value": "DataSource.Error" } },
        { "code": "Microsoft.Data.Mashup.ValueError.Url", "detail": { "type": 1, "value": "https://api.businesscentral.dynamics.com/v2.0/<tenant-id>/<environment>/ODataV4/Company('<company-name>')/ValueEntries?      $select=Entry_No%2CAuxiliaryIndex1%2CItem_No%2CPosting_Date%2CDocument_No%2CInvoiced_Quantity%2CSales_Amount_Actual&aid=FIN&$skiptoken=1500000,'10938465'" } }
      ],
      "exceptionCulprit": 1
    }
  }
}

 

Any help would be greatly appreciated—and if possible, a confirmation that the file size I have isn’t considered large.

I have the same question (0)
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,132 Super User 2026 Season 1 on at
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,132 Super User 2026 Season 1 on at
  • Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at
    Hi
    Can you check whether the web services are enabled?
    Has the environment migrated version?
    Is it an API page or one with UI?
    Best
    GR
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,547 Super User 2026 Season 1 on at

    Check the server status of the Business Central API and verify the service health to ensure there are no ongoing issues or outages. I also recommend testing with a smaller dataset to see if the issue persists, and finally, review the permissions to ensure everything is correctly set up

     
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,949 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,064 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 559 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans