Forum Discussion
API Refreshes Data Set 400 Bad Request error after first time
Hi,
Error 400 is an HTTP general error.
Try to replace the URL with the following:
https://api.powerbi.com/v1.0/myorg/groups/325d21e4-403b-455f-0000-XXXXXXXXX/datasets/b19ac36a-bb5b-XXXXXXXXXX/refreshes
Under the
System.Net.WebRequest.Create
function, then check the results.
Regards,
Michael
- alexisc678 years agoHelper I
Hi,
Thansk for the response. I have tried using 'myorg' and also my company name in this place. I get the same result. Isn't strange that the GET works fine and the POST doesn't. Also, why worked once and not after.
If you can think of something else I can check, please let me know.
Alexis
- alexisc678 years agoHelper I
Hi again,
I tried with a new report. Again, it worked for a few times initially and now it doesn't work anymore with a 400 Bad Request error.
- alexsilvar8 years agoFrequent Visitor
Hi alexisc67,
This happened to me once but I don't remember if it was 400 bad request error. How many times do you refreshed it? The maximum ammount of refreshes in a day is 8. If you exceded it will stop to work.
If you need to refresh more than 8 times you should consider a streaming dataset.
Best regards,
Alexsander
- trutz6 years agoAdvocate IV
Could it be that you hit the refresh limit of 8 refreshes per day (or 48 in case of a workspace on a Premium node)?