updateListing returns 404

400 views
Skip to first unread message

sup...@stockandbuy.com

unread,
May 18, 2016, 10:07:54 AM5/18/16
to Etsy API
Hi guys,
First of all, thanks for the fantastic API you put out for us to integrate with Etsy. 
I am trying to update one of my listings quantity and I am getting a 404 error. 
Here is my request PUT header:

Authorization: OAuth oauth_token="TOKEN-HIDDEN",oauth_consumer_key="KEY-HIDDEN",oauth_nonce="rfN2cIp5",oauth_signature_method="HMAC-SHA1",oauth_signature="SIGNATURE",oauth_version="1.0",oauth_timestamp="TIME-STAMP"
Content-Type: multipart/form-data; boundary=82edd306-be55-4317-af51-be16e6419b83; charset=utf-8
User-Agent: DotNetOpenAuth.Core/4.3.4.13329
Content-Length: 232
Expect: 100-continue
Connection: Keep-Alive

--82edd306-be55-4317-af51-be16e6419b83
Content-Disposition: form-data; name="quantity"

1
--82edd306-be55-4317-af51-be16e6419b83
Content-Disposition: form-data; name="state"

active
--82edd306-be55-4317-af51-be16e6419b83--

In return, I am getting the following response:
HTTP/1.1 404 Not Found
Server: Apache
X-Etsy-Request-Uuid: NbqTS_LL1NSDt0_p2xytz4iz3MKX
X-RateLimit-Limit: 10000
X-RateLimit-Remaining: 9987
X-Error-Detail: The supplied uri doesn't map to a valid command
Cache-Control: private
Content-Length: 47
X-Cnection: close
Content-Type: text/plain;charset=UTF-8
Date: Tue, 17 May 2016 23:13:06 GMT
Connection: close

The supplied uri doesn't map to a valid command

I understand from the documentation that we need full access to update a store listing but this one is my sandbox store which I expected to have the ability to update my listings without full access. 
Is my assumption correct? In case I do not need full access, why is the call above not updating my listing on my developer store?

Thanks a lot in advance,
MBen

david olick

unread,
May 18, 2016, 3:24:04 PM5/18/16
to Etsy API V2
It looks like you're using POST and not PUT as you described.


--
David Olick
Oriku Inc.

--
You received this message because you are subscribed to the Google Groups "Etsy API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to etsy-api-v2...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sup...@stockandbuy.com

unread,
May 22, 2016, 2:57:59 PM5/22/16
to Etsy API, david...@gmail.com
I am really embarrassed now, I completely missed that :( Thanks a lot.
Reply all
Reply to author
Forward
0 new messages