Azure-Samples / powerbi-powershell

Samples for calling the Power BI REST API via PowerShell
MIT License
258 stars 191 forks source link

Invoke-RestMethod : The remote server returned an error: (400) Bad Request. #14

Open schrimsher opened 6 years ago

schrimsher commented 6 years ago

Getting the following error: Invoke-RestMethod : The remote server returned an error: (400) Bad Request.

What am i doing wrong? Works for a while, then I get the above.

Thanks

ashu16815 commented 6 years ago

+1

schrimsher commented 6 years ago

I have now had successful refreshes each day, then something causes it to issue this error randomly. No consistency.

Not sure if there is something I can do to fix it. I appreciate any help.

andressazablonski commented 5 years ago

+1

junbug178 commented 5 years ago

I feel like it may be hitting the maximum number (8) of refreshes. I tried it with a different data set and it worked, the other one I was initially testing on crapped out after the 8th refresh. I think they should increase the maximum to about 50 or something...