Open anza19 opened 3 years ago
I think that is an issue with the PBI REST api itself. We had the same experience when running a lot of Powershell scripts to automate PowerBI deployments - sometimes the commands randomly fail with server errors.
Its unfortunate, but the powerbi services are not very reliable. It has become noticeably worse in the last few months and is often a struggle to get all the tests to pass in a single go without an occasional intermittent 500
It would be possible to add a simple retry mechanism, and will probably be forced to do so in the next PR just so I can get a clean pass of the integration tests
@alex-davies Thanks, this impacts me as well and adding an exponential backoff to retry on these failing requests would be a very nice feature.
Hello,
For the past several weeks we have been facing an issue in our Terraform deployment pipeline that while calling the PowerBI end point for any resources, be it groups, users who have access to a group, reports etc, the deployment will fail with a generic error message displayed as below:
We have not been able to diagnose the root cause as the failure is very intermittent, sometimes it'll fail, sometimes it'll succeed and the deployment finishes successfully.
The way our deployment works is basically we have a concept of a namespace (akin to a pod almost), within which resides the powerbi resources for that specific namespace, during deployment we deploy several of them at once, we have see the more namespaces we are deploying the higher likelihood we have of getting this 500 internal server error while calling PowerBI. This error happens both for refreshing existing resources or creating new resources.
In our configuration file we create the resources that we want the powerbi provider to manage: