Troubleshooting
Most problems show up as one of two symptoms: no bar at all, or a bar whose counts don't move. A bar that can't get a session removes itself without an error, so the page looks as if Tapback were never there. Open the browser's developer tools on the page — the Network tab shows the POST https://api.tapback.party/v1/session request and its status, and that status usually names the cause.
No bar on the page
| What you see | Cause | Fix |
|---|---|---|
/v1/session returns 403 with origin_denied | The page's origin isn't one of the Tapbar's allowed sites. Matching is exact: scheme, host and port. | Add the origin under Set up → Sites & limits → Allowed sites, or with the set_origins MCP tool. |
Works on example.com, not on www.example.com (or the reverse) | www and the bare domain are different origins. | List both. |
| Works in production, not on your dev server | localhost isn't allowed by default. | Add http://localhost:* (and http://127.0.0.1:* if you use it) — the :* matches any port. Type the http://: a bare localhost:5173 is saved as https://localhost:5173, which won't match a dev server on plain http. |
/v1/session returns 403 with app_paused | The Tapbar is paused or archived. | Resume it in the console, or with set_app_status and active. |
/v1/session returns 403 with app_migrating | The Tapbar is moving between data regions. | Wait — the bar comes back on its own when the move finishes, usually within a minute. |
/v1/session returns 429 with rate_limited | Too many session requests from one address — or too many bars in them. | See a long list page loses some bars. |
/v1/session returns 404 with unknown_key | The data-key is wrong, or the key was revoked. | Copy the tag again from the console's Embed panel. |
No /v1/session request at all, and a SyntaxError in the console | The loader tag is missing type="module". loader.js is an ES module and fails as a classic script. | Use the tag exactly as the console gives it: <script type="module" async src="…/loader.js" …>. |
| No request, no error | The loader isn't on this page, or an ad or script blocker stopped it. | Check the page source for the loader tag; try a private window without extensions. |
A float bar never appears, though /v1/session succeeds | The bar sits inside an element your page hides (display: none on an ancestor, a closed <details>). A floating bar only takes the corner while its place in the page is showing. | Move the bar out of the hidden element, for example to the end of the post body. |
| A CSP error in the console | The page's Content-Security-Policy blocks the API origin. | See Content-Security-Policy below. |
A long list page loses some bars
The bars on a page share their session requests: every bar that loads together goes out in one request of up to 50 bars, so a 51-bar index sends two. One address gets a budget of 60 a minute, where a request costs 1 for every 10 bars it carries, rounded up — a 51-bar index costs 6, so a reader can load it about ten times a minute before bars start dropping out with 429. Bars that a script adds to the page later (infinite scroll, a client-side router) go out in their own requests and count the same way.
If readers still lose bars, the page is loading more than about 500 bars a minute from one address: paginate the index, or show bars only on the first page of posts.
Counts don't move
| What you see | Cause |
|---|---|
| Taps still animate, but the shared count stays put | The Tapbar reached its daily ceiling. Counting resumes at the next UTC midnight. See Plans & limits. |
| Counts show, but the reactions can't be tapped | The Tapbar reached twice one of its monthly figures (page views or reactions) and is read-only until the 1st (UTC). Upgrading lifts it at once. See Plans & limits. |
| Other readers' reactions arrive every few seconds instead of at once | A Free Tapbar past its monthly allowance shows counts that refresh about every 10 seconds. Upgrading to Plus restores live updates. See Plans & limits. |
| One reader's taps stop counting after a while | Per-reader limits: a rate per second, a burst, and a lifetime cap per reaction. See per-reader rate limits. |
| A quick second tap does nothing | The tap cooldown (1 second by default, 0–3 seconds) — set under Customize → Behavior → Tapping. |
| A second tap removes the reaction, or does nothing at all | The counting mode is one, undoable or one, final. See counting modes. |
| The bar shows counts but ignores taps | The bar has the readonly attribute. |
| A new reaction you added doesn't appear on an existing page | Pages keep the reactions they were first seen with. See Changing reactions on live pages. |
| Every blurb on the index shows the same count | No entity on the blurbs, so each one infers the index page's URL. See Reactions on your blog. |
Rejected taps are dropped without telling the reader: the bar never shows them an error.
Single-page apps
A bar works out its entity once, when the element is added to the page. A client-side route change that keeps the same <tapback-bar> element keeps the old entity, so every route shares the first page's count. Set entity explicitly from your router's current path, and render a new element (a React key, for example) when it changes.
Content-Security-Policy
If your site sends a Content-Security-Policy header, the bar needs these three sources:
script-src https://api.tapback.party
connect-src https://api.tapback.party wss://api.tapback.party
img-src data: https://api.tapback.party
script-srcloadsloader.jsand the chunks it imports.connect-srccovers the session request and the live WebSocket. List thewss://origin explicitly; some browsers don't treat anhttps://source as covering it.img-srccovers the built-in icons (inlined asdata:URIs) and custom or library icons, which are served from the API origin. If you point a reaction at an icon URL on another host, add that host too.
The bar needs no style-src at all. It styles itself with constructed stylesheets inside its shadow root, which style-src doesn't govern, and it writes no style attributes or <style> elements, so a policy of default-src 'none' plus the three lines above renders it in full, the free plan's Tapback mark and its rain animation included. The authoring picker (editor.js) works the same way and needs nothing beyond those sources.
Trusted Types is the one policy the bar can't run under: it builds its markup with innerHTML inside its shadow root, so require-trusted-types-for 'script' stops it from rendering. Leave that directive off pages that embed Tapback.