Order created twice in shopify but could not find that order in subscriptions

Hello, I got the error of order duplication on creating a new subscriptions order. The order is successfully created on the Shopify side but could not find it on the subscription side. I got this error on production server but could not replicate the cause on my local or staging server.