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 seeWhat it means
401 with WWW-AuthenticateNo token yet. Let the client follow the discovery flow on OAuth & tokens.
401 after a sign-inThe token was issued for another resource. The resource must be https://mcp.jomform.com/mcp.
invalid_scopeThe client asked for a scope JomForm does not advertise. Ask for read or readwrite.
A write refused with a scope errorThe grant is read. A read grant cannot upgrade itself, so connect again and ask for readwrite.
A write refused with a role errorThe key is fine; your role in the ?workspace= scope is read-only.
create_api_key refusedA read or readonly credential cannot mint a wider one. Use a readwrite credential.
The client rejects tools/listEvery tool declares an object outputSchema. Update the client; the server will not bend to a strict array check.
submit_feedback refusedFeedback 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.