DataSource.Error: OData: Request failed: The remote server returned an error: (500) Internal Server Error. itgenaoe027

I get this error message when calling anything related to “Invoices” in Power BI:

DataSource.Error:
OData:
Request failed:
The remote server returned an error:
(500) Internal Server Error.
(An unexpected error has occurred. (itgenaoe027, b0629dfb-bf38-4d21-8de3-8590defa3ebd))
Details:
DataSourceKind=OData

The details can be found via Invantive Bridge Online Monitoring.

See the following related notifications with code itgenaoe027:

The notification indicates an HTTP 500 error on AFAS, which according to the RFC is a server error. This means that the AFAS Profit API server crashes with an unhandled error.

Our advice is to have the AFAS subscription holder submit a ticket. AFAS Profit support will ask for a reproduction scenario. For this, a native call log can be created as described in Collect Native Platform Call Data. You can refer to the reference from the notification in Invantive Bridge Online Monitoring or System Messages:

An unexpected error has occurred. (Profit log reference 4439B39615E94C4DB45BD11063E788F4)

Or, for example, this message returned by AFAS:

{"externalMessage":"Er is een onverwachte fout opgetreden.","errorNumber":-2147180999,"profitLogReference":"9DB45B1B2A3E4AD1909C0CAF2D0566A9"}

This question has been automatically closed after 1 week of inactivity. The last answer given has been marked as the solution.

Please ask a new question via a separate topic if the problem occurs again. Please include a link to this topic in the new question by pasting its URL into the text.