Amazon onebox fails on my site, but works here

Tracing the code a more accurate request for testing is:

curl http://www.amazon.com/gp/aw/d/1491510803 -v -o deleteme -H "User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS
 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3"

Note the:

  • manipulated URL
  • from: http://www.amazon.com/The-Advantage-Organizational-Everything-Business/dp/1491510803
  • to: http://www.amazon.com/gp/aw/d/1491510803
  • Specific mobile User Agent.

I’ve now tested on latest:

  • whilst the test curl request above returns 200 OK
  • I still see a 404 (Not Found) error in Chrome Dev Tools for /onebox?url=...
  • I have not seen a 503 (Service Unavailable) error
  • This Discourse instance is on DigitialOcean (LON1)
1 Like