matrix-org / matrix-org/matrix-hookshot
Deprecated ProvisioningApi still used by matrix-appservice-bridge
@Half-Shot is already working on this.
Since Feb 26, 2026.
- Dominant language
- TypeScript
- Stars
- 450
- Forks
- 95
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 23
Description
When using the setup-widget, the following error displays in matrix-hookshot logs:
```
matrix-hookshot | ERROR 11:51:55:970 [ProvisioningApi] ApiError: API error M_AS_BAD_TOKEN: Token not found
matrix-hookshot | at BridgeWidgetApi.authenticateRequest (/usr/bin/matrix-hookshot/node_modules/matrix-appservice-bridge/lib/provisioning/api.js:200:19)
matrix-hookshot | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
matrix-hookshot | error: 'Token not found',
matrix-hookshot | errcode: 'M_AS_BAD_TOKEN',
matrix-hookshot | statusCode: 401,
matrix-hookshot | additionalContent: {}
matrix-hookshot | }
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.