Sometimes we have an issue where the 404 status code is returned from the
endpoint for one of our customers.
We have checked them if:
And it seems that they only haven't enabled Shopify Payments - I thought this is the answer for "Why this endpoint returned 404." but it wasn't;
I'd tried to reproduce this shop configuration on my newly created account by
Then I wanted to make sure that there is an option for my and the customer account (returned from shop.json) that equals:
And indeed it was.
After that, I've expected:
to return 404 for both of those accounts (the real and the testing one), but the results differed.
Even with Shopify Payments disabled, my testing account returned status code 200, and I couldn't do anything to make this endpoint return 404 (except deleting/pausing this shop). And I would really like to know why this is happening. What should I change on my testing account to make this endpoint returned 404?
I may send you ID's of these shops if this could help.
I really appreciate any help you can provide.
Solved! Go to the solution
Can you provide an x-request-id response header for one of the calls that 404s?
Yes, of course, there is an example.
Additionally, I include Request ID for my testing account where Shopify Payments is disabled, but status code 200 is returned instead of an expected 404.
I will be thankful if you explain the difference between those two accounts and their responses in the context of payouts.
This is an accepted solution.
The 404 is likely because that shop doesn't have (and has never had) Shopify Payments enabled. I believe if you have it enabled or have ever had it enabled in the past on a shop, this request would 200.