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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
WATYF
Helper II
Helper II

Intermittent "Bad Request" errors when trying to refresh Dataset via API...

I have a program that automatically refreshes certain Datasets using the API. It has been running just fine for over a year, until I just added two Datasets whose source is a Sharepoint List. Up until then, all of my Datasets used SQL Server as their data soure. Since adding them, the attempt to refresh the Sharepoint Datasets has been failing on and off with the following error:

 

The remote server returned an error: (400) Bad Request.

 

At first, I thought it was a permanent issue with one of the Datasets and the solutions I attemtped appeared to solve the problem, but then the problem came back the next day, and it wasn't until I just let it ride for a while that I found out the error just randomly occurs. Sometimes it will work for both Datasets, sometimes it will fail for both Datasets, and sometimes it will only fail for one of the two Sharepoint Datasets. Sometimes it fails and then works again an hour later. Sometimes it fails for a few hours straight.

 

Does anyone know what might cause this and how to get rid of it?

 

2 REPLIES 2
fjra1331
Frequent Visitor

Did you find a solution? I'm experiencing the same issue.

Greg_Deckler
Super User
Super User

You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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