mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
JSON query: Empty or undefined response #4751
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#4751
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 @Errorts on GitHub (Feb 24, 2026).
⚠️ Please verify that your question has not already been reported
🛡️ Security Policy
📝 Describe your problem
When attempting to setup a monitor for a component in xen-orchestra I've found that uptime-kuma is unable to read the json. This seems odd as it's worked with all the other json endpoints I've pointed it at so I must be doing something wrong but I can't figure out what.
Here is the curl command to the endpoint and the full response back. Checking with jq and pasting it into the jsonata playground both show it as valid json. The only thing I've hidden in the response is the ip in the location section.
I know the authentication is working because if I change the monitor to HTTP(s) - keyword then it's able to find the keywords like true and PBD. But trying to read it as json just doesn't work. Note that I didn't try to make the response look pretty. That's exactly how it looks when you hit the http endpoint or curl it on the terminal. Maybe that's what's causing the issue
Here is the query:
📝 Error Message(s) or Log
🐻 Uptime-Kuma Version
2.1.3
💻 Operating System and Arch
Ubuntu 24.04.4 LTS x86_64 GNU/Linux
🌐 Browser
Brave 1.87.190 (Official Build) (64-bit) Chromium: 145.0.7632.109
🖥️ Deployment Environment
1.0.1852@CommanderStorm commented on GitHub (Feb 24, 2026):
can you use the safe response on XXX feature below on the site and send the full response that the server send you?
@Errorts commented on GitHub (Feb 24, 2026):
I had the wrong url in the actual monitor. The heartbeatJSON.response I got made no sense for the endpoint I though I was pointing at. I didn't know it was possible to get raw information response. Thank you for taking to time to respond even though this was just a dumb issue on my end.
@CommanderStorm commented on GitHub (Feb 24, 2026):
We should make getting at the response simpler, but there are already I think a few issues open for that 👍🏻