400 error when updating tracking information

173 views
Skip to first unread message

Andrew B.

unread,
Apr 23, 2015, 11:04:49 AM4/23/15
to etsy-...@googlegroups.com
Some of our customers have recently noticed that they are getting a 400 error from Etsy when trying to update the tracking information for an order they just shipped.  I was able to recreate the issue as well and have included the request and response below.  I've removed the OAuth details, but can add them back in if needed.  We haven't changed our integration code and we get the error whether this is the first time we're updating the tracking information or not.

Please let me know if we need to adjust our request or if you see any other cause for this.

Thanks,
Andrew

REQUEST

RESPONSE
HTTP/1.1 400 Bad Request
Server: Apache
X-Etsy-Request-Uuid: oQcn3blC4WcoWawt08L68AYSSTYQ
X-RateLimit-Limit: 10000
X-RateLimit-Remaining: 9987
X-Error-Detail: Shipping notification email has already been sent for this receipt.
Cache-Control: private
Content-Length: 67
X-Cnection: close
Content-Type: text/plain;charset=UTF-8
Date: Thu, 23 Apr 2015 14:05:21 GMT
Connection: keep-alive
Set-Cookie: <<COOKIE INFO>>
Shipping notification email has already been sent for this receipt.

Nicholas Cook

unread,
Apr 27, 2015, 12:18:02 PM4/27/15
to etsy-...@googlegroups.com
Hi Andrew,

Last year we launched a change to the way orders are marked shipped in that they'll now send a notification instead of making the notification an optional, second step. Because of this, submitting tracking information via the API after marking an order shipped using the API will result in an error, because we cannot notify a buyer twice.

In this case, you'll want to update your app to only use the submit tracking method as it will mark shipped and notify with the tracking information.

I'll update our documentation as I see it's out of date.

Thanks for bringing this to our attention.

Akshay Goyal

unread,
Nov 7, 2017, 2:27:06 PM11/7/17
to Etsy API
Hi Nicholas,

I was trying to update shipping info by hitting the endpoint /shops/:shop_id/receipts/:receipt_id/tracking. But i am always getting 400 Bad Request with request body being Shipping notification email has already been sent for this receipt.

So how can we update the shipping information?

Thanks
Reply all
Reply to author
Forward
0 new messages