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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

DataSource.Error : Web.Contents failed to get contents from « https://XXXXXXXXX » (500)

Hi,

 

I get data from an API through a connector. 

It works well except for some inputs which return the following error : 

DataSource.Error : Web.Contents failed to get contents from « https://XXXXXXXXX » (500) : Internal Server Error

I know that these inputs do have data to be returned (those who don't have data still return an empty table). 

 

Do you have any advice on how to solve this ? 

 

Thanks in advance. 

1 ACCEPTED SOLUTION
2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous,

 

I suggest that you first test the availability of the API directly using one of the other tools. For example, postman. Make sure the headers information is correct. It may be that some of your headers are missing, such as connect-type or User-Agent.

 

500 statu code is mostly the server encountered an unexpected condition that prevented it from fulfilling the request.

500 Internal Server Error - HTTP | MDN (mozilla.org)

 

 

Best Regards

Community Support Team _ chenwu zhu

 

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

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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