Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi, we are making REST http calls to PBI, but sometimes we are getting this error:
{"error":{"code":"GeneralException","message":"Failed to process dataset PostRows","target":"PostRows","details":[{"message":"Exception of type 'Microsoft.Cloud.Platform.Utils.AcquireLockTimeoutException' was thrown."}]}}
Request URI: /v1.0/myorg/groups/HIDDENGUID/datasets/HIDDENGUID/tables/WORKORDER/rows
{"error":{"code":"GeneralException","message":"Failed to process dataset DeleteRows","target":"DeleteRows","details":[{"message":"Exception of type 'Microsoft.Cloud.Platform.Utils.AcquireLockTimeoutException' was thrown."}]}}
Request URI: /v1.0/myorg/groups/HIDDENGUID/datasets/HIDDENGUID/tables/WORKORDER/rows
Any idea on what it might be? Thanks!
Hi @Vinsari418 ,
I can understand that there is no other sources trying to update the tables, if possible, may you kindly try to configure some retry logic for the "Delete" API that randomly get 500 AcquireLockTimeoutException to further avoid this random error affecting the business in the future?
Retry a failing request - 🙋 Help - Postman Community
How to rerun the same request a few times - 🙋 Help - Postman Community
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply from lbendlin , please allow me to provide another insight:
Hi @Vinsari418 ,
This error indicates that there was a timeout while trying to acquire a lock, which prevented the dataset from processing the PostRows request.
Please kindly check if there's a chance for your HTTP post process to add some retry logic to avoid the one time failure, and if you are posting a large number of rows, consider breaking them into smaller batches. This can reduce the likelihood of lock contention and improve the overall performance of your data load operations.
Another possible root cause is that you need to ensure that the dataset and table you are trying to post rows to are not being updated or processed by another operation simultaneously. This can cause lock contention and result in timeout errors.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
i can confirm that there is no other sources trying to update the tables. But i randomly get this 500 AcquireLockTimeoutException. Even when i am trying to delete the rows, which should be empty anyways because i had deleted them previously.
Yes 100% no other sources deleting/pushing rows.
Is someone else pushing rows into that dataset while you are trying to truncate the table?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |