-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linebot: APIError 400 The property, 'to', in the request body is invalid (line: -, column: -) #41
Comments
Your user ID is the wrong format. Please follows the following steps:
You can see the following screen shots to show Please Note
|
@windgo1019 resolve your problem? |
You are missing some steps. Please get User ID first. After running webhook service. You need to run $ ngrok http 8088 Then you will get ngrok URL and put it into Webhook URL field on Line developer admin console. ref: https://blog.wu-boy.com/2016/11/send-line-notification-using-docker-written-in-golang/ |
Thank you! |
Please close this issue if above solution is working for you. |
I usw win10 and download drone-line-v1.4.0-windows-386.exe
When I get a secret and token
I use this command to start webhook
drone-line-v1.4.0-windows-386.exe --secret secret_key --token token_key webhook
then i use this command to send message
drone-line-v1.4.0-windows-386.exe --secret secret_key --token token_key --to windgo --message "test"
or
drone-line-v1.4.0-windows-386.exe --secret secret_key --token token_key --to @nle4159v --message "test"
then i got a error mesage
"2016/12/19 11:21:57 linebot: APIError 400 The property, 'to', in the request body is invalid (line: -, column: -)"
could you give me a suggest?
The text was updated successfully, but these errors were encountered: