LiorDocs

Fixing problems with the MCP connection

What an error means when you connect to or call the Lior MCP server, and what to do about it.

Last updated:

Find the sign you see. The connection belongs to one of the two MCP servers.

Sign-in and access

The sign-in does not open or keeps restarting

Without a valid token the server answers 401 with WWW-Authenticate; that is the normal start. Sign in, consent (app.liorhq.com/verbinden) and check the address: https://mcp.liorhq.com/mcp.

An existing connection returns 401 with invalid_token

The token is no longer valid: expired (one hour), from the other server, the connection was disconnected or lost its base right, the ath_ key is unknown or revoked. The description in the error (in German) names the reason. Remove the connection in your app and connect again; for a key, create a new one in Settings, API keys.

The account has no access to the server

Lior needs a provider account with an active membership in an office. Otherwise you get 401 with "Dieses Konto hat keinen Zugang zum Produkt dieses Servers ..."; on the API routes the code is seite_fehlt (403, Error codes). Sign in with the account of the provider side and finish its setup.

The plan has no connections to assistants

Connections to assistants come with Pro and Scale, as many as you like; API keys only with Scale. Older contracts keep their scope. Otherwise Lior answers 401 with "Verbindungen zu Assistenten gehoeren zum Tarif Pro oder Scale ..." or "API-Schluessel gehoeren zum Tarif Scale ..."; a key on another API route gets 403 with tarif_zu_klein. Change the plan under Billing (How to change your plan and pay).

Rights and cards

A tool says a right is missing

With OAuth you get 403 with insufficient_scope; ChatGPT shows a tool error "Dafür fehlt der Verbindung das Recht ...". Connect again and switch the right on on the consent page; the boundary right (freigeben) is off there until you switch it on. A key cannot ask for a right afterwards: create one with the right (Keys). Which right applies to what: MCP rights.

The card is waiting but nothing went out

Whatever goes out, replaces or deletes waits for your click; a card is valid for 15 minutes. Click while it is valid, or ask the assistant to prepare it again. If it shows In Lior freigeben, the connection lacks the boundary right: approve in the app. If the kind is set to Aus there, the assistant prepares nothing (Approval levels).

ChatGPT does not run a tool that writes

According to OpenAI, full MCP with write actions only exists in Business, Enterprise and Edu (Installation). Use Claude or do the step in the app.

Rate and size

The server answers 429

More than 30 calls at once, then more than one per second, per account. Wait as long as Retry-After says, and poll every 30 to 60 seconds in a sync.

The server answers 413 or 403 without a hint about rights

  • 413 with payload_too_large: The body was larger than 512 KB (Limits).
  • 403 on a call from a browser: A call with the Origin header of a foreign site is rejected; assistants call without this header.

A subscription to events does not work

events/subscribe needs an OAuth connection with the event's right, an https address with a public IP and no redirect, and the confirmation within 10 seconds; the codes -32012 to -32015 name the reason (Errors). Answer the confirmation with the challenge and subscribe through OAuth instead of a key.

Next

The general troubleshooting and the error codes.

Keep reading

On this page