The requested URL returned error: 422 Unprocessable Entity

Highlighted
New Member
3 0 1

I get an error "The requested URL returned error: 422 Unprocessable Entity" when I try to call POST /admin/api/2020-07/script_tags.json or /admin/api/2020-07/webhooks.json'

 

I'm pretty sure that the code is correct because it's working fine for years on another Shopify Partner Account.

 

I have the same app settings on both Shopify Partners accounts, but one works and another one no.

 

Does anyone have ideas about what can be wrong?

0 Likes
Highlighted
New Member
3 0 1

Resolved the issue. It was because URLs to webhooks and scripts where HTTP instead of HTTPS

 

Shopify could handle it and return move precise response

1 Like