Does Sandbox support creating ShippingTemplate -- I am getting HTTP 500 error

33 views
Skip to first unread message

Shekhar Gulati

unread,
Jul 24, 2012, 8:53:42 AM7/24/12
to etsy-...@googlegroups.com
I am trying to create a listing on Etsy sandbox environment but it requires you to first create shipping template. I am trying to do this in java. When I am making a POST request to create a shipping template I get a 500 server error. Please find below the http logging. Please help me fix the error

POST /v2/shipping/templates HTTP/1.1
Accept: application/json
Content-Type: application/json;charset=UTF-8
Authorization: OAuth oauth_version="1.0", oauth_nonce="46792371", oauth_signature_method="HMAC-SHA1", oauth_consumer_key="2rjd29148344fluxnnqgjmw9", oauth_token="96b7c88a03818648cd146bdd0b8d5c", oauth_timestamp="1343134082", oauth_signature="KUf9IsSFlINLRPd%2BAMCdl52rvPs%3D"
Content-Length: 130
Host: sandbox.openapi.etsy.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.2 (java 1.5)
Cookie: etala=36386466.865545374.1343134079.1343134081.1343134081.1.0; etalb=36386466.5.10.1343134081
Cookie2: $Version=1
POST Body "{"title":"Hand Made Samsung Mobile","origin_country_id":209,"destination_country_id":209,"primary_cost":10.0,"secondary_cost":5.0}"


2012-07-24 18:18:02,950 [main] DEBUG org.apache.http.wire - << "HTTP/1.0 500 Internal Server Error[\r][\n]"
2012-07-24 18:18:02,951 [main] DEBUG org.apache.http.wire - << "Date: Tue, 24 Jul 2012 12:48:02 GMT[\r][\n]"
2012-07-24 18:18:02,951 [main] DEBUG org.apache.http.wire - << "Server: Apache[\r][\n]"
2012-07-24 18:18:02,951 [main] DEBUG org.apache.http.wire - << "Set-Cookie: etala=36386466.865545374.1343134079.1343134081.1343134082.1.0; expires=Fri, 25-Jul-2014 00:25:34 GMT; path=/; domain=.etsy.com[\r][\n]"
2012-07-24 18:18:02,951 [main] DEBUG org.apache.http.wire - << "Set-Cookie: etalb=36386466.6.10.1343134082; expires=Tue, 24-Jul-2012 13:18:02 GMT; path=/; domain=.etsy.com[\r][\n]"
2012-07-24 18:18:02,951 [main] DEBUG org.apache.http.wire - << "Content-Length: 0[\r][\n]"
2012-07-24 18:18:02,951 [main] DEBUG org.apache.http.wire - << "Content-Type: text/html; charset=UTF-8[\r][\n]"
2012-07-24 18:18:02,951 [main] DEBUG org.apache.http.wire - << "X-Cache: MISS from localhost[\r][\n]"
2012-07-24 18:18:02,951 [main] DEBUG org.apache.http.wire - << "Via: 1.0 localhost (squid/3.1.4)[\r][\n]"
2012-07-24 18:18:02,951 [main] DEBUG org.apache.http.wire - << "Connection: close[\r][\n]"
2012-07-24 18:18:02,951 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection - Receiving response: HTTP/1.0 500 Internal Server Error
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.headers - << HTTP/1.0 500 Internal Server Error
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.headers - << Date: Tue, 24 Jul 2012 12:48:02 GMT
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.headers - << Server: Apache
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.headers - << Set-Cookie: etala=36386466.865545374.1343134079.1343134081.1343134082.1.0; expires=Fri, 25-Jul-2014 00:25:34 GMT; path=/; domain=.etsy.com
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.headers - << Set-Cookie: etalb=36386466.6.10.1343134082; expires=Tue, 24-Jul-2012 13:18:02 GMT; path=/; domain=.etsy.com
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.headers - << Content-Length: 0
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.headers - << Content-Type: text/html; charset=UTF-8
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.headers - << X-Cache: MISS from localhost
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.headers - << Via: 1.0 localhost (squid/3.1.4)
2012-07-24 18:18:02,952 [main] DEBUG org.apache.http.headers - << Connection: close

hu...@hotmail.com

unread,
Jul 25, 2012, 8:59:17 PM7/25/12
to etsy-...@googlegroups.com
I'm having the exact same problem. Would be great to hear from someone at Etsy.

hu...@hotmail.com

unread,
Jul 31, 2012, 3:42:44 PM7/31/12
to etsy-...@googlegroups.com
I got this to work after creating an entirely new account on Etsy production, creating a shop, listing an item and set up payment and billing info. Inexplicably I still cannot authenticate my original Etsy production account that I have been selling on for years...
Reply all
Reply to author
Forward
0 new messages