Troubleshooting
In short. Find the exact message below. Most problems are one of three: the page's web address isn't listed on the product, a Content Security Policy blocks
https://desk.juncodesk.app, or the product wants signed-in users and no token was sent.
The form doesn't appear
| Symptom | Cause | Fix |
|---|---|---|
| No round button, no errors | button: false was passed, or Junco.init never ran |
Call Junco.open() from your own menu, or remove button: false. Check window.Junco exists in the console. |
Console: Refused to load the script 'https://desk.juncodesk.app/widget/junco.js' |
Your Content Security Policy | Add https://desk.juncodesk.app to script-src. |
Console: Refused to connect to 'https://desk.juncodesk.app/v1/…' |
Your Content Security Policy | Add https://desk.juncodesk.app to connect-src. |
junco.js answers 404 |
Wrong server address | Use https://desk.juncodesk.app/widget/junco.js exactly. |
Junco.init needs { game: 'jk_...' } |
game missing |
Pass the product's public key. |
Junco is not defined |
The call ran before the script loaded | Call Junco.init after the script tag, or in its onload (see Installing the form). |
| Nothing in server-side rendering | The widget is browser only | Start it in useEffect, onMounted, onMount or a .client plugin. |
| Options seem stuck at their first values | init runs once |
Pass functions that read current state. |
| Hidden behind something | Another element with a bigger z-index than 2147483000 |
Lower it, or open the form from your own menu. |
Messages from Junco
| Message | Status | Cause | Fix |
|---|---|---|---|
This page isn't allowed to use this game's support |
403 | The page's address (scheme, host and port) isn't one of the product's web addresses | Add it on the product's page in Junco, exactly: https://example.com, not https://example.com/play. www. counts as different. Development: http://localhost:5173. |
Unknown game |
404 | The public key is wrong, or the product was deleted | Copy the key from the product's page (jk_...). |
Missing player |
401 | No X-Junco-Player and no Authorization header |
Send one (the widget does it for you). |
anonymous id must be 32-128 url-safe characters |
401 | The random id is too short or has other characters | 24 random bytes as URL-safe base64 (32 characters) or hex (48). |
This game needs a player token |
401 | Without an account is off for the product, and no token was sent | Send a signed token, or turn Without an account back on. |
This game doesn't use player tokens |
401 | A token was sent, but no signing key was made for the product | How users are recognised → Make a key, or stop sending a token. |
Player token isn't valid |
401 | Wrong key, alg not EdDSA, aud isn't this product's jk_ key, exp passed or more than 7 days ahead, sub empty or over 200 characters |
Check the claims (Signed user tokens). After Make a key again, old tokens stop working: use the new .pem. |
No such ticket |
404 | The number doesn't exist, or it's another user's | Use numbers from GET /tickets for this same user id or token. |
text: Too small… / type: Invalid option… |
400 | A field is missing or wrong | type is bug, idea or help; text isn't empty. |
ticket: expected JSON |
400 | Multipart without a ticket text field |
Add the ticket field holding the JSON. |
Unexpected field: … |
400 | Multipart with a field other than ticket, screenshot, save, log |
Rename or drop it. |
Too many files |
400 | More than 3 files | Send at most one each of screenshot, save and log. |
Send JSON or multipart form data |
415 | Wrong Content-Type |
application/json or multipart/form-data. |
The screenshot isn't a file type Junco accepts |
415 | Not PNG, JPEG or WebP (checked from the bytes) | Encode as JPEG. |
The log isn't a file type Junco accepts |
415 | Not UTF-8 text, or has NUL bytes | Send text. |
The screenshot is too big (or save, log) |
413 | Over 2 MB, 1 MB or 512 KB | Scale the screenshot to 1280 px wide, JPEG at 70 to 80%. |
Game context is too big |
413 | context over 16 KB |
Send less: the useful bits, not the whole state. |
That's too big to send |
413 | The request is over 4 MB | Smaller files. |
Too many messages from you. Try again in N s. |
429 | Over 20 messages in 10 minutes | Wait Retry-After seconds. |
Too many messages from this connection… / …for this game… / Too many requests… |
429 | Per-address or per-product limits | Wait; if a whole office or school shares one address, tell us. |
There's no support page here. |
404 | The hosted page is off for the product, or the key is wrong | Turn on Junco's support page on the product. |
Releases
| Message | Fix |
|---|---|
Send the game's release key: Authorization: Bearer jr_... |
Send the header; check the secret is set in your CI. |
That release key isn't known (made a new one? use that) |
Making a new key replaces the old one. |
{"released": 0} |
Nothing was waiting: tickets wait for a release only after their GitHub issue is closed as completed. |
The AI
| Symptom | Cause | Fix |
|---|---|---|
| No AI replies; tickets go straight to Needs you with "The AI was paused" | No credit, the AI is off for the studio or product, or the product reached its monthly cap | The AI page says which. Top up, switch it on, or raise the cap. |
| Every reply is held | Hold replies is on, perhaps turned on by Junco itself after many failed checks | Read the held replies' reasons, fix the knowledge, then turn it off on the AI page. |
| Replies say "I don't know" | The answer isn't in the knowledge | Add it (Teaching the AI). |
| A good reply was held for a link | The site isn't on Sites replies may link to | Add your help site's host under the Knowledge editor. |
| Wrong area on tickets | Areas missing or vague in the knowledge | List them under ## Areas. |
Desk and sign-in
| Symptom | Fix |
|---|---|
| "This invite has already been used", or the invite has expired or was taken back | Ask your studio's admin for a new one (7 days, one use). |
| "That email already has a Junco login…" | One studio per person for now: use another email, or ask us. |
| No passkey on a new device | Sign in on a device that has one, then Settings → Passkeys → Add a passkey on this device; or use a passkey that syncs. |
| Lost every device | Ask your studio's admin, or us, for a one-time sign-in link. |
| "…'s desk is paused. Contact Junco to turn it back on." | Contact us. Your users' tickets are still being taken. |
| GitHub repo not in the list | Use Add it on GitHub to give Junco's app access to that repo. |
| No phone alerts | Check the Alerts page: ntfy topic subscribed, quiet hours, and Send a test alert. |
Still stuck? Use the form on Junco's website, or the support form on your desk.
For AI tools: this page as Markdown at /docs/troubleshooting.md, every guide in one file at /llms-full.txt, the API as OpenAPI. Checked against Junco on 2026-11-25.