Question Details

Answered
Invalid character in header content ["Authorization"]

Hello,

I'm currently learning to build my own LINE chatbot with nodejs using the latest @line/bot-sdk on npm

What I've tried is just copy-pasted echo-bot in the examples and publish it in heroku.

However, my bot encountered Error: Invalid character in header content ["Authorization"] everytime the webhook called.

Am I doing something wrong here?

Thanks

0
Profile picture
Cristopher X Namchee

Answers

3
Profile picture
Shoya
Posted: 1 months ago

Can you attache your soure code?

Profile picture
Cristopher X Namchee
Posted: 1 months ago
Edited: 1 months ago

Sure, https://github.com/Namchee/line-chatbot/blob/master/index.js

Profile picture
Curry Doria
Posted: 1 months ago

could you paste full stack trace?

Are you sure? question.vm