Forum Discussion
h4tt3n
Helper V
5 years agoKeep getting a 400 Bad Request error when trying to update refresh schedule via API
Hello folks, I am developing Power BI reports and managing them via API calls as a part of my job. I have developed a number of powershell scripts to streamline management via the rest API. It al...
- 5 years ago
Always test your API calls in the sandbox.
Datasets - Update Refresh Schedule In Group (Power BI Power BI REST APIs) | Microsoft Docs
Refreshes can only be scheduled at :00 and :30 (top and bottom of hour). You can't supply a random minute number.
h4tt3n
Helper V
5 years agolbendlin
"Refreshes can only be scheduled at :00 and :30 (top and bottom of hour). You can't supply a random minute number."
This indeed was the problem. Unfortunately, it appears thet the official documentation does not cover this crucial detail. Also, the error returned simply states "Bad request", which is not very helpful. But your reply was, thank you.
Cheers, Mike