Can only create and save Doc after some random time via REST api calls

There is a very weird behavior I am not understanding. I have a server script API method that creates stock entry, saves it and submits. After I successfully create, save and submit one stock entry the subsequent requests fail to perform the same operation. Only after certain amount of time when I repeat the request it is possible to create/save/submit the new stock request. This “certain amount of time” is random between 10mins and 30mins.

Did anyone come across anything like this?

Ok found the reason. Apparently was sending GET request when creating Stock Entry. Must be POST. Interestingly, with GET request the app is still creating and submitting the stock entry but at random times.