web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    Ramesh Kumar Profile Picture
    7,511 Super User 2025 Season 2 on at
    BC, PowerBI and OData: Request failed: (500) Internal Server Error

    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.
     
  • Gerardo Rentería García Profile Picture
    23,558 Most Valuable Professional on at
    BC, PowerBI and OData: Request failed: (500) Internal Server Error
    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
    Khushbu Rajvi. Profile Picture
    19,131 Super User 2025 Season 2 on at
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    19,131 Super User 2025 Season 2 on at

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,846

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,157

#3
Sumit Singh Profile Picture

Sumit Singh 2,903

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans