API Order data cannot be retrieved although it was there first

First I create an order, then I retrieve the order Id. Then I use the /order method to retrieve the order. This works, but then if I wait a few seconds it suddenly stops working and it says the “Order does not exist.” I have read in other topics that there’s delays in this process, but then I wonder why it works first and then suddenly disappears.