Skip to main content

Troubleshooting

No Response From Parent

Check all three:

  • nonce matches the hash payload.
  • postMessage target origin matches parentOrigin.
  • You are listening for type: "chastify:ext:resp" responses.

403 extension_not_enabled

The extension is not enabled for that lock. Enable it on the lock first.

409 lock_ended

The lock is no longer active, so extension actions are blocked.

429 Rate Limit

You are sending too many requests too quickly.

Current limits:

  • Read endpoints: 120/min
  • Write endpoints: 60/min
  • Action endpoints: 20/min
  • Token issuance: 10/min

Device Command Fails

Call session.get first and use the returned supported commands. Do not assume all devices support all commands.

Setup Page Not Saving Config

Confirm your setup iframe handles:

  • chastify:ext:setup:init
  • chastify:ext:setup:get_config
  • chastify:ext:setup:config (sent back to parent)

For reference behavior, see apps/extension/src/pages/SetupPage.tsx.