Discussing APIs and development related to customers, discounts, and order management.
Hello REST Admin API version 2021-04 is used. The Create Order API does the job and creates orders. However, it returns 500 Internal Server Error for some API calls. One store had this problem before. And the response became normal later. Several days ago, another store started to have the same issue. Thanks.
Solved! Go to the solution
This is an accepted solution.
Hey @HarryX,
Just working with @Luke_K and had a closer look here.
I wasn't able to find anything unique based on the headers shared. Generally a 500 error is a good reason to dig deeper, especially when errors are more consistent or arbitrary. That said, there isn't much further our team can go since we currently don't provide authenticated support through these forums, limiting our ability to dig deeper, locate accounts, stores, or much else past generic API logs.
However, I can provide a few insights to help moving forward:
1. If you are a Shopify Partner, please feel free to follow select the new option to Report an issue [BETA], select the option for API, and follow the authentication steps. We can't guarantee all requests or bugs reported here are answered directly, for I would absolutely encourage you use this option and share as much detail as possible.
2. If you are store owner or store staff member, please reach out to Shopify Support and let them know we suggested so as next steps for reporting a potential API issue.
I hope you are able to get this sorted out soon - Cheers!
awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hey @HarryX
If you'd like to share the x-request_id 's that can be obtained from the headers that made these calls with the 500's, we can take a look in the logs. Thanks!
Hi @Luke_K ,
These are 5 latest request IDs with the 500 error:
f8fd94ca-4ea3-4a79-bec0-fe9a4183cd47
9b3a655f-8d6e-41e7-9525-f169f7d584f8
9aa4ef6a-8103-41a8-9389-d7930680a5a5
44441522-8391-4866-b05d-948f0c1d3498
126f91de-c27f-485f-9b2d-10b2e13e82fc
Thanks!
Hi @Luke_K ,
These are several latest ids. Please have a look.
0a17f1d0-6a70-4914-a3dd-3e2695087810
ecd942df-8355-4abe-99db-98323c3929b4
7ed5dd74-04fa-4b1d-bf43-c6f7e928ebed
a9fed96f-f11c-4b55-babe-568fe5c9ad5f
Thanks!
This is an accepted solution.
Hey @HarryX,
Just working with @Luke_K and had a closer look here.
I wasn't able to find anything unique based on the headers shared. Generally a 500 error is a good reason to dig deeper, especially when errors are more consistent or arbitrary. That said, there isn't much further our team can go since we currently don't provide authenticated support through these forums, limiting our ability to dig deeper, locate accounts, stores, or much else past generic API logs.
However, I can provide a few insights to help moving forward:
1. If you are a Shopify Partner, please feel free to follow select the new option to Report an issue [BETA], select the option for API, and follow the authentication steps. We can't guarantee all requests or bugs reported here are answered directly, for I would absolutely encourage you use this option and share as much detail as possible.
2. If you are store owner or store staff member, please reach out to Shopify Support and let them know we suggested so as next steps for reporting a potential API issue.
I hope you are able to get this sorted out soon - Cheers!
awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog