App reviews, troubleshooting, and recommendations
Our app's webhooks suddenly stopped working today because there was a mismatch between the documented header key and the header key received from the webhook request.
It used to be :
X-Shopify-Topic
But now it is:
x-shopify-topic
I just wanted to confirm if Shopify has updated something at their end. Has this occurred to anyone else?
Solved! Go to the solution
This is an accepted solution.
We recognize that you'r experiencing some Webhook headers case change.
HTTP headers are case insensitive. This isn’t anything specifically for Shopify, it’s HTTP in general. Clients can receive different casing depending on many factors. The best way to make your app future proof is to make it HTTP compliant and compare headers case-insensitive: for example, each app should treat Content-Type
and content-type
and Content-type
the same.
For more information, feel free to follow the dev thread here.
Yes, and for us it was critical because we did a case-sensitive match for validation.
Hi,
recently I received an error due to the format change in the header request sent by Shopify. More precisely the header changed from 'X-Shopify-Token' to 'x-shopify-token'. It isn't a big issue, however, this sudden change does worry me a little bit given no info in this regard have been posted in the Shopify Changelog so I don't know how this change happened. Does anybody know how is this possible?
We had the same issue. For us it was much more critical as all the webhooks failed.
This is an accepted solution.
We recognize that you'r experiencing some Webhook headers case change.
HTTP headers are case insensitive. This isn’t anything specifically for Shopify, it’s HTTP in general. Clients can receive different casing depending on many factors. The best way to make your app future proof is to make it HTTP compliant and compare headers case-insensitive: for example, each app should treat Content-Type
and content-type
and Content-type
the same.
For more information, feel free to follow the dev thread here.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025