mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Setting up Line Messenger (Notification) Error 400 #555
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#555
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adamh2021 on GitHub (Nov 12, 2021).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
When attempting to setup Line Messenger, I have been receiving the following error:
Error: Error: Request failed with status code 400 {"message":"The property, 'to', in the request body is invalid (line:-, column:-)"}I have check the API setup and that's correct. Anyone else come across this issue?
🐻 Uptime-Kuma Version
1.10.2
💻 Operating System and Arch
Ubuntu 20.04
🌐 Browser
Chrome
🐋 Docker Version
No response
🟩 NodeJS Version
No response
@github-actions[bot] commented on GitHub (Sep 23, 2022):
We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.
@github-actions[bot] commented on GitHub (Sep 26, 2022):
This issue was closed because it has been stalled for 2 days with no activity.
@suminb commented on GitHub (Nov 8, 2023):
I'm having the same issue. Any progress on this?
@CommanderStorm commented on GitHub (Nov 8, 2023):
No, there has not been a PR to adress any defects in the line messanger or its documentation.
I don't have this messanger set up => cannot currently test it
From the error message, it seems like your
lineUserIDis invalidSee our contribution guide here:
github.com/louislam/uptime-kuma@5b6522a54e/CONTRIBUTING.md@Ponkhy this notification provider was introduced by you. This has now moved to https://github.com/louislam/uptime-kuma/blob/master/server/notification-providers/line.js
Do you have any clues why this is failing?
@chakflying commented on GitHub (Nov 8, 2023):
toproperty is used to set the recipient of the message. This property is set by thelineUserIDof the notification configuration. Maybe you can check Line's API documentation to see if you have set the value correctly.