Teemu Vesala created LIBCLOUD-811: ------------------------------------- Summary: GoDaddy driver mishandling shopper ID parameter Key: LIBCLOUD-811 URL: https://issues.apache.org/jira/browse/LIBCLOUD-811 Project: Libcloud Issue Type: Bug Components: DNS Environment: This has been tested with following operating systems and Python versions: Windows 7: Python 2.7 and Python 3.0 Linux: Python 2.7 Reporter: Teemu Vesala
GoDaddy driver is not able to do any action because it sets the 'X-Shopper-Id' header to 'True'. After that all requests to GoDaddy API are resulting: {"code":"NOT_FOUND","message":"Resource not found","name":"ApiError"} Log output from driver.list_zones(): # -------- begin 3069020076 request ---------- curl -i -X GET -H 'Host: api.godaddy.com' -H 'X-Shopper-Id: True' -H 'Accept-Encoding: gzip,deflate' -H 'X-LC-Request-ID: 3069020076' -H 'Authorization: sso-key ACCESS KEY:SECRET KEY' -H 'User-Agent: libcloud/1.0.0-rc2 (GoDaddy DNS) ' --compress https://api.godaddy.com:443/v1/domains/ # -------- begin 3069020076:3069040908 response ---------- HTTP/1.1 404 Not Found Via: 1.1 api.godaddy.com X-Powered-By: Express Transfer-Encoding: chunked Vary: Origin,Accept-Encoding Connection: close Etag: W/"45-K7cRahIguKtXFPRJXsuOkg" Access-Control-Allow-Credentials: true Date: Wed, 20 Apr 2016 06:51:54 GMT Content-Type: application/json; charset=utf-8 45 {"code":"NOT_FOUND","message":"Resource not found","name":"ApiError"} 0 # -------- end 3069020076:3069040908 response ---------- -- This message was sent by Atlassian JIRA (v6.3.4#6332)