l-portet / surebet-finder

šŸˆ šŸ’¶ Sport surebet finder bot
58 stars 17 forks source link

Error: Request failed with status code 404 #4

Closed Pando13 closed 2 years ago

Pando13 commented 2 years ago

hi, i tried to run the code but it gives me this error:

C:\Users\\Documents\GitHub\surebet-finder>npm start

> surebet-finder@1.0.0 start
> node index.js

Error: Unable to call API
C:\Users\\Documents\GitHub\surebet-finder\node_modules\axios\lib\core\createError.js:16
  var error = new Error(message);
              ^

Error: Request failed with status code 404
    at createError (C:\Users\\Documents\GitHub\surebet-finder\node_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\Users\\Documents\GitHub\surebet-finder\node_modules\axios\lib\core\settle.js:17:12)
    at IncomingMessage.handleStreamEnd (C:\Users\pandi\Documents\GitHub\surebet-finder\node_modules\axios\lib\adapters\http.js:237:11)
    at IncomingMessage.emit (node:events:532:35)
    at endReadableNT (node:internal/streams/readable:1346:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
    ...

I have recently started programming and I do not know how to solve the problem. I changed the baseURL in the aggregator.js file but the problem is not solved.

Sorry for my bad english, hope you can solve the problem.