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 September 15. Request your voucher.

Reply
harishuppala2
Frequent Visitor

PowerBI Rest API to get Get Datasources geting Response Code: 400

Hi , 

I am trying to geting the Datasources with my group id and report id i am geting below response with error code 400 and i have mysql as the source for this report and i have tried different report where the source was Sql server got the same response code

Reports - Get Datasources In Group is api call i am using

{
"error": {
"code": "InvalidRequest",
"message": "GetReportDatasources is supported only for RDL reports"
}
}

can any explain me the issue.

3 REPLIES 3
SaiTejaTalasila
Super User
Super User

Hi @harishuppala2 ,

 

Is it report builder report or power bi report?

 

Thanks,

Sai Teja 

krishna7
Regular Visitor

I am facing the same issue, i am using the excel as a data source

v-eachen-msft
Community Support
Community Support

Hi @harishuppala2 ,

 

According to the document, RDL file doesn't support mysql.

https://docs.microsoft.com/en-us/sql/reporting-services/report-data/data-sources-supported-by-report...

But you also mentioned that Sql Server will also show an error, so I think you could create a support ticket here for further help.

Support Ticket.gif

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors