Closed samyb8 closed 4 years ago
Might be related to https://github.com/PeeHaa/PHPoAuthConsole/issues/4.
For the time being I totally blame Etsy, but I will need to investigate further...
Is there solution to this one already? Thanks!
This issue has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue for you, please try to help by debugging it further and sharing your results. Thank you for your contributions.
I get this:
Fatal error: Uncaught exception 'OAuth\Common\Http\Exception\TokenResponseException' with message 'file_get_contents(https://openapi.etsy.com/v2/receipts/125799390): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden ' in /hermes/bosoraweb013/b1151/ipg.tahara/APIs/PHPoAuthLib-master/src/OAuth/Common/Http/Client/StreamClient.php:70 Stack trace: #0 /hermes/bosoraweb013/b1151/ipg.tahara/APIs/PHPoAuthLib-master/src/OAuth/OAuth1/Service/AbstractService.php(137): OAuth\Common\Http\Client\StreamClient->retrieveResponse(Object(OAuth\Common\Http\Uri\Uri), NULL, Array, 'GET') #1 /hermes/bosoraweb013/b1151/ipg.tahara/APIs/PHPoAuthLib-master/examples/etsy.php(43): OAuth\OAuth1\Service\AbstractService->request('/receipts/12579...') #2 {main} thrown in /hermes/bosoraweb013/b1151/ipg.tahara/APIs/PHPoAuthLib-master/src/OAuth/Common/Http/Client/StreamClient.php on line 70
All the time in all my request. An Etsy developer asked for the headers, specifically the X-Error-Detail, but I don't know where to get them.
Anyone could help please?