Troubleshooting
The eight refusals an MCP client meets in practice, and the one thing to change for each.
When a call fails
Start with the status code. Each row below is a condition the server refuses, and what to change.
| You see | What it means |
|---|---|
401 with WWW-Authenticate | No token yet. Let the client follow the discovery flow on OAuth & tokens. |
401 after a sign-in | The token was issued for another resource. The resource must be https://mcp.jomform.com/mcp. |
invalid_scope | The client asked for a scope JomForm does not advertise. Ask for read or readwrite. |
| A write refused with a scope error | The grant is read. A read grant cannot upgrade itself, so connect again and ask for readwrite. |
| A write refused with a role error | The key is fine; your role in the ?workspace= scope is read-only. |
create_api_key refused | A read or readonly credential cannot mint a wider one. Use a readwrite credential. |
The client rejects tools/list | Every tool declares an object outputSchema. Update the client; the server will not bend to a strict array check. |
submit_feedback refused | Feedback is user data, so it needs a user token from an OAuth sign-in. An API key is rejected. |
Tip: Read a sale's lifecycle with
describe_lifecycle before a state change. An event the table marks enabled=false will be refused.