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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
JoRobs
New Member

REST API UpdateReportContent returns 500 (Internal Server Error) for certain reports

At my org we have been using the UpdateReportContent REST API to deploy reports into the service while preserving report IDs. This has been working well until recently, we have encountered some reports that consitently return a 500 (Internal Server Error) when we try to update their content. Based on testing it seems like the error is caused by some difference between the target report and the source report, the same target can be updated by some source reports but not others, with no indication why. 

 

The scripts that make the call are written in powershell, the full error looks like:

 

Exception:
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: {
"code": "UnknownError",
"pbi.error": {
"code": "UnknownError",
"parameters": {},
"details": []
}
} ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
 
Has anybody else encountered this?
 
Thanks,
Josh
1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @JoRobs ,

 

Which of the REST API are you using? 

Update Report Content In Group or Update Report Content? Please clarify.

If you are using  Update Report Content then you can only updates the content of the specified report from My workspace with the content of a specified source report.

The Update Report Content In Group API updates the content of the specified report from the specified workspace with the content of a specified source report.

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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