Forum Discussion

albin-ipmg's avatar
albin-ipmg
New Member
9 years ago
Solved

Power BI Embedded API - PostImportWithFile returns "Internal Server Error"

I am getting an exception (see below) returned by client.Imports.PostImportWithFile method when importing a fairly large PBIX file (approx. 700MB) to Azure workspace. The same does not happen with a ...
  • albin-ipmg's avatar
    9 years ago

    For anyone with same issue, the problem is in using the base url https://api.powerbi.com. As per Microsoft support, when using this base url and importing large PBIX files, it has a tendency to timeout the file stream, thus throwing the exception. Microsoft support provided a direct URL to our local Power Bi Workspace cluster and the issue was resolved.