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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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