Hi there,
I am trying to scrape product information from amazon.com via a plugin I wrote using axios and cheerio. The code works without a glitch for amazon.in, but throws the error below while attempting to scrape amazon.com / amazon.ca.
Looking at Error: Request failed with status code 503
, looks like the server couldn’t communicate with the URL. Is it correct? Interestingly, the same code works outside bubble.
Could somebody help me understand the error please?
Plugin action scrape and add error:
Error: Request failed with status code 503
at createError (/var/task/node_modules/axios/lib/core/createError.js:16:15)
at settle (/var/task/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/var/task/node_modules/axios/lib/adapters/http.js:293:11)
at IncomingMessage.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1241:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Error: Outer Error (see above for inner error)
at Block.wait (/var/task/u.js:420:34)
at Object.async_fn [as async] (/var/task/index.js:316:35)
at eval (eval at build_function (/var/task/index.js:86:21), :15:29)
at /var/task/index.js:349:23
at run_fn (/var/task/u.js:594:18)
Thank you for your help.