Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

But product create - Error when try to create a product on a sales channel

But product create - Error when try to create a product on a sales channel

DanielKux
Visitor
2 0 0

Hi, I'm trying to post a bulk product create with the graphql API but I'm getting an error when I want to add the products to sales channel. This is the response

{"data":{"currentBulkOperation":{"id":"gid://shopify/BulkOperation/401589731385","status":"FAILED","errorCode":"INTERNAL_SERVER_ERROR","createdAt":"2021-12-27T18:05:11Z","completedAt":null,"objectCount":"0","fileSize":null,"url":null,"partialDataUrl":null}},"extensions":{"cost":{"requestedQueryCost":1,"actualQueryCost":1,"throttleStatus":{"maximumAvailable":1000.0,"currentlyAvailable":999,"restoreRate":50.0}}}}

 

Replies 2 (2)

csam
Shopify Staff (Retired)
267 40 51

Hi @DanielKux 

 

Are you still experiencing this behaviour? If so, could you please provide the x-request-id from the response headers? I can have a look through our logs to try and determine why you are receiving the error message.

 

Thanks!

To learn more visit the Shopify Help Center or the Community Blog.

DanielKux
Visitor
2 0 0
Hi,
This is the x-request-id for the bulk create operation 1
*8389e01-7674-457e-b423-ca25f12e1e99* and this is the bulk operation id
*gid://shopify/BulkOperation/403054133305*.

Thank you