When Skirl refuses something, a script or a tool such as curl gets an answer like this, with the HTTP status:
{"code":40301,"http":403,"error":"forbidden"}
The app shows the same refusal in plain words where it has some, and the server's text otherwise. Search this page for the words you see, or for the five-digit code. The tables below give, for each code, the server's text, what the app says when it says something else, what it means and what to do.
A few answers add a detail after a semicolon, such as invalid request: actions invalid; parameter 'url' is required for action 'view': the part after ; says exactly what was wrong. Answers with code 429 carry a Retry-After header: the number of seconds to wait before trying again.
Most codes are the ones an ntfy server gives, so tools written for ntfy understand them. Codes ending in 70 to 99 are Skirl's own.
Something went wrong. Check the connection and try again. The app got no answer from Skirl at all: this device is offline, Skirl is stopped or restarting, or the proxy or tunnel in front of it is down. Try again in a moment. To check the server from a computer, ask for its health:
curl -sS https://notify.example.com/v1/health
{"healthy":true}
If the app shows a short status such as Bad Gateway, Service Unavailable or HTTP 502 instead, the proxy answered but Skirl behind it did not: Skirl is stopped, or the proxy sends to the wrong place. An answer of {"healthy":false} (status 503) means Skirl is running but cannot use its database. More in When something does not work.
The app says Wrong username or password. The user name or password is wrong, or the token is unknown, revoked, expired, or belongs to someone who is disabled. Check what the tool has saved, or make a new token: Tokens and access. Each one counts as a failed sign-in from that address. In the app, a 401 anywhere else means your session ended: the app opens the sign-in page.
40301
forbidden
The app says You are not allowed to do that here. You may not do this: the topic is private and you have no access to it, the topic does not exist (Skirl answers both the same way, so nobody can find out which topics exist), a token is limited to another topic or to reading only, a member opened an admin page, or a token was used where only a browser session or a password may be. The setup wizard gets it when the setup token is wrong. Ask whoever manages the topic for access on its Access tab, or use a token with the rights you need.
42909
limit reached: too many auth failures
The app says Too many failed attempts from this address. Try again in … Too many failures were counted (Failed sign-ins before a pause within Failed sign-ins counted over), so until the time is up the right ones are refused too. After bad tokens from this address, every token from it waits, and passwords still work (Bad tokens). After wrong passwords for one user name from this address, that name's password waits there, and so do the address's tokens; other people still sign in with their own passwords (Wrong passwords). Every device behind the same home router shares the address. Correct the password or token in whatever keeps retrying (a phone app, a script): Rate limits.
40390
forbidden: cross-origin request
A web page on another site tried to change something in Skirl. Skirl's own pages and scripts outside a browser are not affected. To send from another site's page, use the topic's address (the ntfy-style one on Send to this topic), not /api/v1.
40990
conflict: setup is already complete
The app says Setup is already complete. Sign in instead. The first admin exists already.
40023
invalid request: no token provided
Through ntfy's account calls (/v1/account/token): revoking "the token you signed in with" while signed in with a password. Name the token in the X-Token header.
The app says A topic name is 1 to 64 letters, digits, - and _. No spaces, dots or slashes. A message sent as JSON without a topic gets this too.
40010
invalid request: topic name is not allowed
The app says That topic name is reserved. Pick another. These names belong to Skirl's own pages: account, admin, api, app, assets, connect, docs, file, fonts, help, inbox, install, login, m, metrics, search, settings, setup, signup, static, topics, v1.
40975
conflict: a topic of that name exists already
The app says A topic of that name exists already. Names do not care about capitals: Backups and backups are one topic.
40096
invalid request: visibility must be private, public_read, public_write or public
The app says Pick who may read and send without signing in.
40097
invalid request: retention must be 1 to 3650 days
The app says Messages are kept 1 to 3650 days.Keep messages (days) on the topic's Settings tab.
40994
conflict: not subscribed to this topic
Muting a topic, or Notify me from priority, works only for a topic in your inbox: subscribe first (Topics).
A priority is 1 to 5, or min, low, default, high, max or urgent. A filter such as priority= takes the same. With a template, the priority it made is not one of these.
40057
invalid request: title is too large
The app says The title is too long (at most 1024 bytes).
40090
invalid request: title must be valid UTF-8
The title has bytes that are not text, usually from a wrong character set. Send it as UTF-8.
40058
invalid request: tags are too large
All tags together may be at most 512 bytes.
41390
message too large: the Message parameter is limited to 4096 bytes
The app says The message is too long (at most 4096 bytes). The Message header (or m=) holds at most 4096 bytes: send longer text as the body instead. A body of 4096 bytes or more is kept as a file, not shown as text.
40018
invalid request: actions invalid; …
An action button is wrong; the rest of the message says how (a missing label or address, more than three buttons, a kind other than view, http, broadcast or copy). Message features explains the buttons.
40021
invalid request: icon URL is invalid
An icon must be a full http:// or https:// address.
40049
invalid request: sequence ID invalid
The id that lets you replace or delete a message later is 1 to 64 letters, digits, - and _.
40024
invalid request: request body must be valid JSON
A message sent as JSON is not JSON (a priority in quotes, "4", counts as wrong). Requests to the app's own /api/v1 addresses get it too for a field Skirl does not know.
41303
JSON body too large
A message sent as JSON is over 32 KB, the data for a template over 128 KB, or a request to /api/v1 over 64 KB.
40001
e-mail notifications are not enabled
Skirl does not send e-mail. Remove the e-mail option (the Email header, ntfy's e-mail setting) from what sends.
40032
invalid request: calling is disabled
Skirl makes no phone calls. Remove the Call option.
The app says The file is too large, or the server has no room for it now. The file is bigger than Largest file, or it would take the sender over Files per sender or the server over All files on the server. Older files go when they expire.
42905
limit reached: daily bandwidth reached
The app says You have downloaded as much as a day allows. Try again tomorrow. One address, signed in or not, has downloaded Downloads per reader per day since midnight UTC.
40013
invalid request: attachment URL is invalid
The app says A linked file needs an http or https address.
40014
invalid request: attachments not allowed
The app says This server takes no files. ntfy gives this when files are turned off. Skirl always takes files, so it never gives this answer.
The app says That time could not be read. A delay is a duration (30m, 2h, 1 day), a Unix time, a date and time such as 2026-12-01T08:00:00Z, or words such as tomorrow, 3pm. A time already past is refused.
40005
invalid delay parameter: too small, please refer to the docs
The app says That is too soon: send at least 10 seconds from now.
40006
invalid delay parameter: too large, please refer to the docs
The app says That is too far ahead for this server. It is further ahead than Longest delay allows.
40059
invalid request: invalid timezone
The Timezone given with a delay is not a time zone name such as Europe/Berlin. It is checked whenever a delay is given, and used only for a delay written in words.
40002
cannot disable cache for delayed message
A message sent for later must be kept until then: drop Cache: no, or the delay.
These come from a message sent with a template (the address ends in ?template=…, or the Template header), and from Admin → Templates. Templates explains them.
Code
Message
What it means and what to do
40047
invalid request: template file not found
No template has that name, neither yours nor a built-in one, or the name has other characters than letters, digits, - and _. Check the name in the address against Admin → Templates.
The address's events= names an event the template does not have; the message lists those it has. Copy the steps again from Send to this topic.
40042
invalid request: message body must be JSON if templating is enabled
With a template, what is sent must be JSON: the template reads its values from it. A request without a body (a GET) gets this too.
40043
invalid request: could not parse template; …
The template has a mistake, such as an unknown function or a {{ without its }}; the rest says where.
40044
invalid request: template contains disallowed function calls, e.g. template, call, define, or block
define, block, template, call, html, js and urlquery are not allowed in a template.
40045
invalid request: template execution failed; …
The template stopped while it ran; the rest says why. In a saved template, reaching into a value that is not there stops it: use dig (Template functions). Making more than 1 MB of text ends with limit reached.
40055
invalid request: template execution timed out
Making the message took longer than 100 ms. Simplify the template.
40056
invalid request: template too large
A template may be at most 32 KB.
40041
invalid request: message or title is too large after replacing template
The title or the message the template made is over 4096 bytes: a template written in the address, or one saved on this server. Print less, for example with shorten in a saved template (Templates). The built-in templates shorten what they make instead.
40084
invalid request: template; …
Saving a template that does not work, in Admin → Templates or with Skirl's template commands (The skirl commands): the rest names the part (title, message, priority…) and what is wrong with it, or why the name is not allowed.
42972
limit reached: too many templates being rendered, try again
Four messages were being made from templates at that moment and this one waited 2 seconds for its turn. Send it again.
42973
limit reached: too many template previews, please wait
The template editor or Listen for a real message asked for more than 30 previews in a minute; the editor says Preview paused for a moment (too many in a minute). It goes on by itself.
invalid request: expiry must be a positive duration such as 12h or 30d
A token's expiry is a time such as 12h or 30d, or none.
40992
conflict: too many tokens; a user may hold 100 that are neither revoked nor expired, revoke one first
The app says You hold 100 tokens, the most there can be. Revoke one first.
40977
conflict: only an active token can be rotated
The app says Only an active token can be rotated. A revoked or expired token cannot be brought back: make a new one.
40074
invalid request: expires must be 0 (never) or a time in the future
A tool using ntfy's account calls asked for a token that would already have expired. Check the tool's setting, and the clock of the machine it runs on.
invalid request: name must be at most 128 bytes of UTF-8
The app says A name is at most 128 bytes. A token's name, a person's or a topic's name shown, or a device's name is too long. A token's name may not be empty either, and gets the same answer.
40098
invalid request: search is limited to 8 words and 200 bytes
The app says Search for up to 8 words and 200 bytes of text. Its search box says so before sending: Search.
40099
invalid request: parameter invalid; …
A value is out of range; the rest says which, such as limit must be 1 to 100 or min_priority must be 1 to 5.
invalid request: origin not allowed for notifications; …
Notifications were turned on from a page that is not on HTTPS (notifications need https (or http on localhost)), or the address in the browser is not the one the server sees (the Origin header must be …), usually a proxy that does not pass the address on. Open Skirl at its HTTPS address; Admin → Diagnostics checks the proxy: Diagnostics.
40080
invalid request: push endpoint refused; …
The browser's push service is not one Skirl sends to (Google's, Mozilla's, Apple's or Microsoft's), or its address is not plain HTTPS; the rest says which. Use one of the browsers in Phones and browsers.
40081
invalid request: push keys invalid: p256dh must be a 65-byte uncompressed P-256 point and auth 16 bytes
The browser handed over keys that cannot be used. Turn notifications off and on again on that device.
40993
conflict: too many devices; a user may register 20, remove one first
Remove a device you no longer use in Settings → Devices.
42990
limit reached: too many test notifications, please wait
At most 6 test notifications a minute per person. Wait a few seconds.
40078
invalid request: quiet hours; …
The app shows the part after ;, such as From and to are times of day, such as 22:00. or Choose at least one day.Quiet hours.
40073
invalid request: unknown platform or notification state
The app reports, each time it starts, what this browser can do about notifications. A page left open from an older or newer Skirl can send a report the server does not know: reload it. You do not see this one in the app.
50390
web push is not available on this server
A Skirl server always has notifications, so it never gives this answer.
invalid request: the public address must be http:// or https:// with a host, and no path, user info or query
The public address is only the start, such as https://notify.example.com: Admin settings.
40071
invalid request: trusted proxies must be addresses or CIDRs, at most 64
Each line is an address (192.168.1.10) or a range (10.0.0.0/8).
40971
conflict: a trusted proxy address is public; send confirm_public to trust it; …
A proxy address on the internet was listed. The app asks you to confirm instead of showing this. Trust it only if it really is your proxy.
40970
conflict: this setting was given on the command line and cannot be changed here
The public address, the proxy mode or the trusted proxies were given when Skirl was started (a flag or a SKIRL_ variable). Change it there and restart Skirl: Configuration variables.
40976
conflict: rate limits are turned off on the command line (--no-rate-limit)
The app says Rate limits were turned off when Skirl was started (--no-rate-limit or SKIRL_NO_RATE_LIMIT). Remove that and restart Skirl to set the limits here.
40075
invalid request: the default retention must be 1 to 3650 days and the visibility private, public_read, public_write or public
The app says The default retention must be 1 to 3650 days.
40076
invalid request: rate limit invalid; …
One rate limit is not a value it can take; the rest names it and what it wants.
40077
invalid request: sizes are bytes above 0; the attachment expiry is 1 to 87600 hours; the longest delay 1 to 720 hours
A file size is above 0, Keep files for 1 to 87600 hours, Longest delay 1 to 720 hours.
40972
conflict: the checks are already running
Diagnostics is checking already. The result shows when it is done.
42970
limit reached: too many diagnostic runs, please wait
At most six runs of the checks a minute. Try again in ten seconds.
40370
forbidden: the Origin header must name this server
The connection test's WebSocket came with another address than the one the server sees: the proxy changes the address on the way. Diagnostics shows the proxy's settings.
40470
not found: no public address is stored yet
The QR code that opens Skirl on a phone needs the public address: set it first.
40072
invalid request: unknown check
Only the setup wizard sends this request, with a check it knows. Reload the wizard.
What each limit means, with examples: Rate limits. The ones that end a sign-in (42909), downloads (42905), templates (42972, 42973), test notifications (42990) and Diagnostics (42970) are in their own sections above.
Code
Message
What it means and what to do
42901
limit reached: too many requests
The app says Too many requests. Try again in … Too many requests in a short time: signed out, 60 from one address and then one every 5 seconds; signed in, 600 per person and then one every half second, unless an admin changed them. Wait, or send less often.
42903
limit reached: too many active subscriptions
Too many connections that stay open to read messages (streams, ntfy's apps, open Skirl tabs): 30 from one address signed out, 300 per person signed in. Close some.
42911
limit reached: too many new topics, please wait
The app says Too many new topics. Try again in … One person may make 100 topics at once, then one a minute.
Nothing is at that address: a file that expired or was deleted, a topic's address opened by a script without /json or /sse after it, or an ntfy address Skirl does not have.
40490
not found
No such person, token, topic, template, scheduled message or device, or an address under /api/ that does not exist. It may have been deleted meanwhile: reload.
50001
internal server error
Something failed inside Skirl. The server's log has a request failed line with the cause; if it happens again, report it with that line.