I'm working on an application that uses BitBucket's Rest API and I'm trying to make multiple commits concurrently. I'm following the documentation guidelines: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-post
The problem is that when I try to send two or more commit requests at the same time, concurrently, I get a generic error saying that something went wrong. Error:
- {"type":"error","error":{"message":"Something went wrong","id":"28570ed270ff4cffb2a887e9eb00bd56"}}
Interestingly, when I do everything sequentially, I don't get any errors and everything goes perfectly. This ends up showing that there is some limitation of active connections or something like that, because when I try to make two or more requests at the same time, I get an error.
Has anyone dealt with this issue and could help me?
Thanks.