FROM CACHE - en_header

Shopify Metafield API 500 Error

30 0 1



I have a script that pushes variant metafield information for my products to Shopify. I have previously implemented this and it has worked just fine without issues. When I go and run the same script today it appears that after only 5 requests Shopify returns a 500 Internal Server Error.  I am obeying the shopify API rules and not breaching the rate limit. This is an example of where I received this error, can someone please shed light as to what might be causing this? Thanks!

Edit: this is particularly urgent as it impacts the ability to dynamically update my store on the fly.

Full Request Text
POST /admin/products/4398024294469/variants/31409930371141/metafields.json HTTP/1.1
Accept: */*
Content-Type: application/json
Authorization: Basic ZjI5YWI3MjkyNTc1ZWZlNTA5ZjM0ZWQzZGU1YzcwNjY6c2hwcGFfYTQ2ZjIyNjkzMDVhMmIwZThhNDJhZTU5YThmMGMxOTQ=
Content-Length: 89


HTTP/1.1 500 Internal Server Error
Date: Tue, 02 Jun 2020 20:43:48 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d2145542de7db726918bb2071dfe4896a1591130628; expires=Thu, 02-Jul-20 20:43:48 GMT; path=/;; HttpOnly; SameSite=Lax
X-Sorting-Hat-PodId: 68
X-Sorting-Hat-ShopId: 27540553797
X-Shopify-Stage: canary
Content-Security-Policy: default-src 'self' data
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 1; mode=block; report=/xss-report?source%5Baction%5D=create&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fmetafields&source%5Bsection%5D=admin_api&source%5Buuid%5D=f672404f-3471-4dcb-b588-e1230b844a70
X-Dc: gcp-us-east1,gcp-us-central1,gcp-us-central1
X-Request-ID: f672404f-3471-4dcb-b588-e1230b844a70
CF-Cache-Status: DYNAMIC
cf-request-id: 03185fb95f0000af4b42249200000001
Expect-CT: max-age=604800, report-uri=""
Server: cloudflare
CF-RAY: 59d4023bcb13af4b-KEF
alt-svc: h3-27=":443"; ma=86400

{"errors":"Internal Server Error"}


Reply 1 (1)
New Member
2 0 6

I am experiencing this right now. Anyone have a solution?