I don't get shipping_address as part of webhook payload since friday

Sometime friday it started giving me an error on my app when it tries to access trigger.payload.shipping_address - i can see it says it's null when it should be a stringified JSON obj. Anything changed in Shopify access stuff? I am approved for it so it would be weird.
No description
No description
4 Replies
muchi
muchi•5mo ago
hey @thore cardel ! Can you provide you app name and environment this is happening in? I suspect I know what is happening but want to double check 🙂
thore cardel
thore cardelOP•5mo ago
Address-logic and av on production, they had the same problem. I’ve changed it to use a onsucces on Shopifyorder create so of course the problem will not show anymore unless you go in the logs
muchi
muchi•5mo ago
hey @thore cardel ! I took a look and it wasn't an issue on our webhook processing after all. The shipping_address is null in your orders/updated webhook, and when querying for that order via shopify's graphql admin API shows that the value is null for shippingAddress. I would suggest reaching out to Shopify support for clarification of why those values are null if you are expecting them to be populated and have filled in the Protected Customer Data Access form and have already selected the address field!
thore cardel
thore cardelOP•5mo ago
OK, srange! Now I have moved on to a solution where I just get it on the /update order action and handle it from there if i can see it has an address. thanks for looking into it! Appreciate it

Did you find this page helpful?