100 continue response when adding a product with an image or variant via the API

Highlighted
Shopify Partner
1 0 1

I can add a product with "title", "body_html", "vendor", and "product_type" and get an HTTP/1.1 201 Created response back and the product is created. However, when I try to add "images" or "variants", I get an HTTP/1.1 100 Continue response and the product is created. I would like to get the 201 response so I can tell the user it was successful.

Here is the request that is sent via POST to /admin/products.json, that in turn receives the 100 Continue response: https://gist.github.com/lukehatfield/8c719d7bcd4083861254d8b648880f38.

This app function is triggered via a button in the shop admin.

1 Like
Highlighted
Shopify Staff
Shopify Staff
1555 81 282

Hey Luke,

That seems weird. Can you provide a request-id I can look at for your specific cases? Request IDs are returned as headers for every API response.

Cheers.

0 Likes
Highlighted
New Member
2 0 1

I'm having this same issue. Can someone add to this and let me know what the cause is? 

0 Likes