Skip to main content
Find the symptom or the message you see. Most failures come from the key, from a setting the network requires, or from media that was not uploaded to PostQueen first.

The agent will not connect over MCP

The key address answers 400 with Invalid API Key or no active subscription. Either the key is wrong, or the workspace has no trial or plan: start or renew it in Billing. For the key, copy it again from Connections > API key and paste the whole address, https://api.postqueen.ai/mcp/YOUR_API_KEY, with no space or quote around the key. Only a workspace Admin or Super Admin can reveal the key; other members see it masked.
With the Bearer header on https://api.postqueen.ai/mcp, Missing Authorization header means the agent sent no header. Invalid API Key or OAuth token, or no active subscription means the key or token in it is wrong, or the workspace has no trial or plan (see Billing). The header must read Authorization: Bearer YOUR_API_KEY.
An admin may have rotated the key under Connections > API key, which stops the old key everywhere at once. Or the person who approved a sign-in revoked it under Connections > Approved Apps, or the workspace’s trial or plan ended. Put the new key in every agent that used the old one, or sign in again.
Many agents load their tools when a session starts. Start a new session, or reload the servers: /mcp in Claude Code, /reload-mcp in Hermes Agent, a restart in most editors. Then ask the agent to list your PostQueen channels.
Some agents start a sign-in when a server refuses them, so a wrong key can look like a sign-in request. Check the key first. If the agent supports it, you can use the sign-in address instead.
  • Only a workspace Admin or Super Admin can approve the sign-in. Ask one to connect the agent.
  • Paste https://api.postqueen.ai/mcp-oauth-dynamic with no slash at the end, and leave any client ID and secret fields empty. In Claude’s two-step dialog, choose Register automatically under OAuth client.
  • The Grok Bot, Grok and NanoClaw guides use the API key. Give it to them the way their guides show; NanoClaw keeps it in its OneCLI vault.
If it still fails, use the key address.
It is connected to docs.postqueen.ai/mcp, which searches these docs only. Connect it to an address from MCP server instead.

An MCP tool returns an error

The Upload Media panel shows only in apps that can display MCP panels, such as Claude, Claude Cowork and ChatGPT. Elsewhere, upload the file on PostQueen’s Media page, in the workspace the agent is connected to, and tell the agent its name: it finds the file with mediaListTool. An agent that runs commands on your computer can upload it itself with uploadLinkTool, or with postqueen upload, and a file on a public link goes in with uploadFromUrlTool.
No MCP tool can change a post’s text or time, or move it between draft and scheduled. Check the calendar, and do it there, or with the CLI or the API.
deletePostTool deletes a post from PostQueen only. A post that was already published stays live on the network: delete it there too.
A video is prepared after it is uploaded, and its file can change when that is done. From the upload panel, wait until uploadWidgetStatusTool says ready before the post goes out. For a video from a link, check the post on your calendar before its time.

A CLI command fails

When the API refuses a command, the CLI prints one line to stderr and exits with code 1. The line says which command gave up, then what the API answered:

The key

auth:status names the method it uses. If it says OAuth2 although you set a key, a saved login in ~/.postqueen/credentials.json is overriding the key: postqueen auth:logout removes it.

Flags

These are caught before anything is sent. Each prints a line starting with ❌ on stderr, and the command exits 1. A usage error ends with the help to read, such as Run "postqueen posts:create --help" for usage.

Posts

Upload errors are on upload media. A post whose analytics answer {"missing": true} is fixed on analytics.

Common mistakes

Most commands print a status line before the JSON. Drop it: postqueen integrations:list | tail -n +2 | jq '.'. posts:missing prints JSON only, so it needs no tail.
-s is the date on posts:create and the status on posts:status. -d is minutes between items on posts:create, days on the analytics commands, and JSON input on integrations:trigger.
The job or the agent runs in its own environment and does not read your shell profile. Set POSTQUEEN_API_KEY there, and send stderr to the log (2>&1) so the error is not lost.
From 2.0.24, auth:status exits 1 when no key is set, when the API refuses it, and when it could not be checked, so postqueen auth:status > /dev/null || exit 1 works. Older versions exit 0 in every case: update with npm install -g postqueen@latest.

Something the route cannot do

Some things are not a failure: the route you use does not offer them yet. What MCP, the CLI and the API can each do is on AI agents.

Still stuck?

If you hit something that is not covered here, email support@postqueen.ai with what you saw and when. Send the exact command or prompt, the agent you use and the full message. Never send your API key.
Last modified on October 27, 2026