HTTP 409 response to webhooks endpoint

Highlighted
Shopify Partner
27 1 4

I'm getting a 409 response sometimes to calls to GET webhooks.json. This status code isn't mentioned in the documentation:

 

https://help.shopify.com/en/api/getting-started/response-status-codes

 

Apparently 409 means 'Conflict', but there is no information in the response body about what caused the error, so I'm not sure how to proceed.

 

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409

0 Likes
Highlighted
Tourist
6 0 1

Getting 409 responses back from a few GET requests as well.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 139 163

Hey @kelseyjudson,

 

Can you please provide a request ID from the response headers of a request which hits a 409?

0 Likes
Highlighted
Shopify Partner
27 1 4

@scottydont, it seems to be coming from Cloudflare, as there's no such header so I don't think these requests are actually reaching Shopify:

To /api/2019-07/events.json:

 

Cache-Control: max-age=6
Cf-Ray: 56023d042c059935-LAX
Connection: close
Content-Type: text/plain; charset=UTF-8
Date: Wed
05 Feb 2020 04:46:06 GMT
Expect-Ct: max-age=604800
report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Expires: Wed
05 Feb 2020 04:46:12 GMT
Server: cloudflare
Set-Cookie: __cfduid=dd5bb17e25b0306a5981720981f9945ac1580877966; expires=Fri
06-Mar-20 04:46:06 GMT; path=/; domain=.lucid-dev.myshopify.com; HttpOnly; SameSite=Lax
Transfer-Encoding: chunked

To /api/2019-07/shop.json:

 

Cache-Control: max-age=6
Cf-Ray: 55fd49ff6e9c9821-LAX
Connection: close
Content-Type: text/plain; charset=UTF-8
Date: Tue
04 Feb 2020 14:21:07 GMT
Expect-Ct: max-age=604800
report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Expires: Tue
04 Feb 2020 14:21:13 GMT
Server: cloudflare
Set-Cookie: __cfduid=d3d66c904ee933a63674e8ae2214b0b451580826067; expires=Thu
05-Mar-20 14:21:07 GMT; path=/; domain=.appstesting555.myshopify.com; HttpOnly; SameSite=Lax
Transfer-Encoding: chunked

To /api/2019-07/webhooks.json:

 

Cache-Control: max-age=6
Cf-Ray: 55f6385eca229959-LAX
Connection: close
Content-Type: text/plain; charset=UTF-8
Date: Mon
03 Feb 2020 17:45:47 GMT
Expect-Ct: max-age=604800
report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Expires: Mon
03 Feb 2020 17:45:53 GMT
Server: cloudflare
Set-Cookie: __cfduid=d20f1e343bc973858bd93c85a0f2e14bb1580751947; expires=Wed
04-Mar-20 17:45:47 GMT; path=/; domain=.everett-practice.myshopify.com; HttpOnly; SameSite=Lax
Transfer-Encoding: chunked
0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 139 163

Thanks @kelseyjudson - I'll send you a DM to get more info

0 Likes
Highlighted
New Member
2 0 0

@scottydont Can you please reply to this thread as well? It's April and I'm still getting this error and so are a number of other people I've talked to. Would be very helpful. Thanks.

 

Dave

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 139 163

@dave4jr, can you provide some more information:

 

- Is the response from Shopify or Cloudflare (is there a request ID?)

- Are you seeing this with PUT requests, do you have an example?

0 Likes
Highlighted
Shopify Partner
27 1 4

We've also started seeing 409s again. Just one or two here and there over the past week or so (from Cloudflare).

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 139 163

Thanks @kelseyjudson. Are you able to capture the next 409 and forward me the details?

0 Likes
Highlighted
Shopify Partner
27 1 4

Okay @scottydont I'll keep an eye on it. Are there any particular details that are important (beyond the headers, and I think the response body is usually empty)? The last few were for POST requests to the GraphQL endpoint.

0 Likes