Common problems
The client cannot connect, or gets 401
The client cannot connect, or gets 401
The API key is missing, mistyped, or revoked. Check that
ARGIL_API_KEY is set in the shell that starts the client, or create a new key in Workspace settings → API keys. A chat app that says “This sign-in request has expired” took too long to sign in: connect again.The assistant uses the wrong workspace
The assistant uses the wrong workspace
One connection uses one workspace: an API key’s, or the one you picked when signing in. Disconnect and connect again with the other workspace, or use a key created in it.
A video seems stuck
A video seems stuck
Videos take minutes. Ask “check on my last Argil video”: the generation kept running even if the conversation stopped. You also find it in your Argil playground.
"Plan required" or "insufficient credits"
"Plan required" or "insufficient credits"
Generating needs an active Argil plan and enough credits in the workspace. Both are managed in the Argil app; everything else works without them.
The client asks before every check on a video
The client asks before every check on a video
Allow the read tools (
get_generation, get_asset, list_*) in your client’s settings. Keep approval on for generate_media, which spends credits.The assistant cannot use a file I attached
The assistant cannot use a file I attached
Chat apps do not pass attachments to Argil. Upload the file in your Argil library and say “use my latest upload”, or give a public link.
Error codes
A refused tool call returnsisError: true with the reason, and nothing is created or charged. The assistant reads it and usually fixes the call itself.
A generation that starts and then fails, for example on moderation, is not an error code: it ends with
status: failed and a reason, and its credits are refunded.
Security and privacy
- One workspace. A connection works only on its workspace’s models, library, elements, credits and webhook endpoints.
- No account access. An assistant cannot read or create API keys, change your plan or settings, or buy credits.
- Spending is capped by you. Only
generate_mediaspends credits;max_creditscaps each generation. - Keys. Use one key per agent or machine, keep it in an environment variable or a secret store, never in a prompt. Revoking a key stops it at once; generations already running finish.
- Private networks are out of reach. A URL you give is downloaded by Argil’s servers, only from public addresses.
- What is logged. Each call’s tool, duration, outcome, workspace and key. Not your prompts, inputs or results: they stay in your workspace, as in the app.
- Text from your workspace (prompts, names, descriptions) is returned as data, never as instructions to the assistant.
