Errors, pagination and limits

Look up the errors the Intuidy MCP server and OAuth endpoints return, and the limits that apply to AIPI keys and MCP clients.

Updated in Intuidy 2026.11.214 min read

This page lists the errors that the Intuidy MCP server and OAuth endpoints return, and the limits that apply when you call AIPI, the Intuidy REST API, or the MCP server.

Authentication and scope errors

ErrorCauseFix
Unauthorized: Missing or invalid Bearer tokenA request to the MCP server has no bearer token, or the token is not valid. The response carries a WWW-Authenticate header with the Bearer scheme and the error invalid_token.Send an AIPI key or an OAuth access token as a bearer token in the Authorization header. In Settings → AIPI Keys, check that the key's status is Active, not Revoked or Expired.
insufficient_scopeThe AIPI key or OAuth access token doesn't hold the scope the request needs.Add the scope to the key in Settings → AIPI Keys.
Internal server errorThe MCP server could not process the request.Send the request again. If it keeps failing, see Get help.

Missing MCP tools

The MCP server advertises a tool only when the key's scopes reach it. A missing tool means a missing scope, not a missing capability.

OAuth errors

MCP clients that sign in instead of sending an AIPI key use the OAuth authorization code grant with PKCE. The token endpoint accepts the grant types authorization_code and refresh_token.

EndpointError codeMessageCause
Tokeninvalid_requestcode is requiredAn authorization_code request has no code.
Tokeninvalid_requestcode_verifier is requiredAn authorization_code request has no code_verifier.
Tokeninvalid_requestrefresh_token is requiredA refresh_token request has no refresh_token.
Tokeninvalid_grantredirect_uri does not match the authorization requestThe redirect_uri differs from the one sent in the authorization request.
Tokeninvalid_grantPKCE verification failedThe code_verifier doesn't match the challenge sent in the authorization request.
Tokeninvalid_targetresource does not match the authorization requestThe resource differs from the one sent in the authorization request.
Tokenunsupported_grant_typegrant_type must be authorization_code or refresh_tokenThe grant_type is any other value.
Registrationinvalid_redirect_uri—A redirect URI in the client registration is not accepted.
Registrationinvalid_client_metadata—The client metadata in the registration is not valid.
Revocationinvalid_requesttoken is requiredThe request has no token.

Sign-in screen messages

The person who approves an OAuth connection sees these messages on the Intuidy sign-in screen, not the calling app.

MessageMeaningWhat to do
"This connection request can't be completed"The connecting app could not be verified, or the connection could not be recorded. Nothing was connected.Close the window and start the connection again from the app that opened it.
"The app did not open."The app may no longer be listening for the sign-in.Try again from the app, or close the window.

Limits

LimitBehavior
REST coverageNo REST operation serves notebooks, managed databases, or the knowledge base. A key reaches them through the MCP server only.
MCP tool listFiltered by the key's scopes and fixed when the client connects. After an Intuidy release, reconnect to see added or changed tools.
Tool-call durationA workflow or agent run can take longer than a client's per-call timeout. Codex defaults to 60 seconds per tool call. Raise the timeout in the client's configuration; see MCP server.
Agent runsRun Agent (Wait for Answer) holds the call until the agent answers. Start Agent Job (Async) and Get Agent Job Status start a run and check on it in separate calls.
OAuth grant typesauthorization_code and refresh_token.

Each REST operation's parameters and responses are defined in the OpenAPI document. See Download OpenAPI.

↳ Authentication ↳ MCP server ↳ Download OpenAPI