Back End Development and APIs Projects - URL Shortener Microservice

Tell us what’s happening:
I need some help. My solution works just fine when I test it locally, it also works if I use it on the replit link, but it only passes the first test, the other three fail, when I check the replit console I get this error:

BadRequestError: request aborted
at IncomingMessage.onAborted (/home/runner/FCC-Shortener-Microservice/node_modules/raw-body/index.js:238:10)
at IncomingMessage.emit (node:events:527:28)
at IncomingMessage._destroy (node:_http_incoming:179:10)
at _destroy (node:internal/streams/destroy:102:25)
at IncomingMessage.destroy (node:internal/streams/destroy:64:5)
at abortIncoming (node:_http_server:602:9)
at socketOnClose (node:_http_server:596:3)
at Socket.emit (node:events:539:35)
at TCP. (node:net:709:12)

I only get this error when FCC is running the tests.

Your project link(s)

solution: https://FCC-Shortener-Microservice.monkaws624.repl.co

githubLink: GitHub - Robertron624/FCC-Shortener-Microservice

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Back End Development and APIs Projects - URL Shortener Microservice

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.