ERR_UNESCAPED_CHARACTERS
See original GitHub issueHey Guys, im trying to get this package working for a typescript project, so I have serverless with serverless-webpack plugin transpiling my code, all Is well until I actually try to hit the endpoint I created (which is a graphql enpoint wrapped in a NestJS Application), im getting the following error:
ERROR: aws-serverless-express error
TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters
at new ClientRequest (_http_client.js:127:13)
at Object.request (http.js:38:10)
at forwardRequestToNodeServer (/home/sidhenidon/Projects/clasify-serverless/node_modules/aws-serverless-express/index.js:119:26)
at proxy (/home/sidhenidon/Projects/clasify-serverless/node_modules/aws-serverless-express/index.js:183:7)
at Server.startServer.on (/home/sidhenidon/Projects/clasify-serverless/node_modules/aws-serverless-express/index.js:187:32)
at Server.emit (events.js:132:15)
at Server.emit (domain.js:439:23)
at emitListeningNT (net.js:1388:10)
at process._tickCallback (internal/process/next_tick.js:114:19)
Serverless: [200] {"statusCode":500,"body":"","headers":{}}
I included that line so you could see the response I got back from calling it
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
TypeError [ERR_UNESCAPED_CHARACTERS] Request ...
I have used axios and the same problem occured. My problem was solved using encodeURI() or encodeURIComponent() functions.
Read more >how to solve ERR_UNESCAPED_CHARACTERS error? #29
TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new ClientRequest (_http_client.js:139:13) at request ...
Read more >Request path contains unescaped characters - Replit
I am trying to make a rpg discord.js bot with replit database. But unfortunately there's an error. TypeError ERR_UNESCAPED_CHARACTERS : Request path ...
Read more >Request path contains unescaped characters 해결
TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new NodeError (node:internal/errors:371:5) at new ...
Read more >Request path contains unescaped characters - Code Grepper
typeerror [err_unescaped_characters]: request path contains unescaped characters · Oops, You will need to install Grepper and log-in to perform this action.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What’s the URL you’re trying to hit? I’ve read whitespace is a common cause
Hi @brettstack I’m facing the same issue but it’s due to whitespace as you said. Im trying to hit: http://127.0.0.1:3000/api/v1/analyze-entities/ 1
¿ What can I do ?