Fuhrmann Well-known member Nov 24, 2011 #1 Anyone know how to use it? I've used this: PHP: $amazon = new Zend_Service_Amazon('MY_API_KEY', 'UK', 'MY_SCRET_API'); But when I do a $amazon->itemSearch I always get an error: Code: An error occurred sending request. Status code: 400
Anyone know how to use it? I've used this: PHP: $amazon = new Zend_Service_Amazon('MY_API_KEY', 'UK', 'MY_SCRET_API'); But when I do a $amazon->itemSearch I always get an error: Code: An error occurred sending request. Status code: 400
Mikey Well-known member Nov 24, 2011 #2 Check that your API and Secret keys are correct. in HTTP status codes 400 means bad request, maybe it's just the amazon servers? I couldn't find anything you're doing wrong here: http://framework.zend.com/manual/en/zend.service.amazon.html
Check that your API and Secret keys are correct. in HTTP status codes 400 means bad request, maybe it's just the amazon servers? I couldn't find anything you're doing wrong here: http://framework.zend.com/manual/en/zend.service.amazon.html
Fuhrmann Well-known member Nov 24, 2011 #3 The keys are fine. I really do not know what is happening. Thanks Mikey!
J James Well-known member Nov 24, 2011 #4 Have you checked that all the dependencies of Zend_Service_Amazon are there? Someone had this problem with Zend_Service_Twitter.
Have you checked that all the dependencies of Zend_Service_Amazon are there? Someone had this problem with Zend_Service_Twitter.
Fuhrmann Well-known member Nov 24, 2011 #5 James said: Have you checked that all the dependencies of Zend_Service_Amazon are there? Someone had this problem with Zend_Service_Twitter. Click to expand... Yes... I search a lot and there is a lot of people with the same problem. Then, I found a bug report in here: http://zendframework.com/issues/browse/ZF-11904 That is...Amazon has changed the API and now requires a new parameter Associate Tag, that's why do not work, because in Zend Framework it is not updated yet.
James said: Have you checked that all the dependencies of Zend_Service_Amazon are there? Someone had this problem with Zend_Service_Twitter. Click to expand... Yes... I search a lot and there is a lot of people with the same problem. Then, I found a bug report in here: http://zendframework.com/issues/browse/ZF-11904 That is...Amazon has changed the API and now requires a new parameter Associate Tag, that's why do not work, because in Zend Framework it is not updated yet.
Fuhrmann Well-known member Nov 25, 2011 #6 Solved. I've added the new required parameter into the core of the Zend_Service_Amazon. And my computer date/time was wrong.
Solved. I've added the new required parameter into the core of the Zend_Service_Amazon. And my computer date/time was wrong.