Skip to main content
Apidly Cloud
Cookie policy

Analytics and ad cookies stay off unless you accept. Cookie policy

We would like to use Google Analytics and Microsoft Clarity to understand how the public pages are used, including page views and session recordings, and the Reddit Pixel to measure whether our ads on Reddit lead to visits and sign-ups. You choose here whether they are on. Rejecting changes nothing about how the site works.

Troubleshooting

Fixes for common problems with sign-in, servers, SSH, the GPU and billing, and what each message and error code means.

Last updated November 21, 202620 min read
View as Markdown

Using the command-line tool? Run apidly doctor first. It checks the version, your saved key, the connection to the API, your balance and your SSH keys, and says how to fix what is wrong (details).

I cannot sign in or did not get the verification email

See Sign up and sign in.

My server request is waiting

Some requests are reviewed first. See Why was my request reviewed?.

The server did not start, or shows an error

See If a server fails to start.

SSH says "Permission denied"

  • Check that you selected the right SSH key when you deployed. A key added later does not change an existing server.
  • Check the user name. It is root.
  • Use the host and port from the Connect tab.
  • Run the command with -v to see details:
ssh -v root@HOST -p PORT

SSH says "Connection refused" or times out

The server may still be starting, or it may be stopped. Check that the status is Running, and copy the host and port again from the Connect tab. They can change after a restart.

"Host key changed" warning

This happens when a new server uses an address you used before. If you know you created a new server, remove the old entry:

ssh-keygen -R "[HOST]:PORT"

The GPU is not visible

Run:

nvidia-smi

If it fails, restart the server from the console. If it still fails, open a ticket and include the server ID.

Out of memory

Use a configuration with more VRAM, a smaller model, or a smaller batch size. Run nvidia-smi to see memory use.

Out of disk space

df -h
du -sh /workspace/* | sort -h

Delete files you do not need. The disk size is set when you deploy.

My server was stopped

Check your balance. If it reached zero and the grace period ended, servers are stopped. Add credit, then start them. See Billing and balance.

My payment did not go through

Try again, or use a different card. If you were not charged but the balance did not change, wait a minute and refresh, then open a ticket in the Billing category. See Support.

The website or the console does not load

Your servers keep running and SSH keeps working. See What happens if our website is unreachable for what still works and how that time is billed.

Messages and error codes

These are the messages the console shows, with the code the API and the command-line tool return in error.code. Branch on the code in scripts, not on the text. Nothing is charged for a request that was refused or could not start.

You see Code What to do
No capacity for this GPU right now no_capacity Choose another GPU, deploy again later, or name up to two alternative GPUs on the Review step.
That GPU just sold out plan_unavailable Choose another GPU, deploy again later, or name up to two alternative GPUs on the Review step.
This GPU or template is no longer available. Choose another. plan_unavailable, template_unavailable The GPU or template is out of stock or switched off. Choose another.
This GPU has less memory than the template needs. template_hardware, vram_too_small The template needs more GPU memory or other hardware than this GPU has. Pick a GPU that meets the needs shown on the template card.
No machine matches those hardware requirements right now. Relax a requirement or choose another GPU. constraint_unavailable No machine matches your hardware requirements. Relax one or choose another GPU.
The disk size is outside the allowed range for this GPU. invalid_disk Use a disk size between the minimum and maximum the slider shows for this GPU.
The price changed price_moved The price moved while you chose. Select Continue at the new price, or choose another GPU.
Your balance is too low insufficient_balance Add credit. You need enough for at least one hour of compute and disk.
You have reached the limit of active servers for this organization. Stop or delete a server, or contact support to raise the limit. server_limit_reached By default a new organization can have 3 active servers at once until 7 days after its first approved server, and 10 after that. Stopped servers and servers in error do not count. Stop or delete one, or ask support to change the limit.
Too many requests are waiting for review. Wait for a decision or cancel one. too_many_pending Up to 5 requests can wait for review. Wait for a decision or cancel one on the Servers page. See Why was my request reviewed?.
This organization is suspended and cannot deploy servers. org_suspended Write to support. See Support.
The environment variables are too large to send to the server. Shorten the values, or put large data in a file on the disk. env_too_large The environment variables are over the size limit. Shorten the values, or put large data in a file on the disk.
An environment variable value contains characters this template cannot pass to the server (backtick, backslash, ;, &, / or a line break). env_value_unsupported A value holds a character the template cannot pass (backtick, backslash, semicolon, ampersand, pipe or a line break). Remove it or use a template with a start script.
The start script is too long. Shorten it, or download a longer script from the start script. start_script_too_large The platform's own setup and your script must fit one launch field of 4,048 characters. About 2,300 characters of your script fit (about 1,300 with the browser terminal). Keep long logic in a file and start it from a short script.
An environment variable name contains a word that is reserved by the platform and cannot be used. Rename that variable and try again. reserved_term_env_name, reserved_term_start_script, reserved_term_image The name, script or image contains a word the platform reserves. Rename it.
An environment variable refers to a secret that does not exist. Create it under Settings, Secrets first. unknown_secret Create the secret first under Settings > Secrets, then deploy.
Your monthly budget is used up and servers are set to stop at the budget. Raise or remove the budget in Settings. budget_reached Your monthly budget is used up and servers stop at the budget. Raise or remove it in Settings.
This server would open more ports than the platform allows. Remove some ports and try again. too_many_ports Remove some ports from the template and try again.
One or more selected SSH keys no longer exist. Update your selection. invalid_ssh_key, ssh_key_required Select at least one SSH key that still exists, or add one first.
Interruptible price not available interruptible_unavailable This configuration has no interruptible price now. Choose on-demand.
Request received pending_approval Some requests are reviewed first. You are not charged while it waits. See Why was my request reviewed?.
The server changed state. Reload the page and try again. invalid_state, conflict The server changed state while you were looking. Reload the page and try again.
The server could not be changed right now. Try again shortly. provider_error The change could not be made right now. Try again shortly.
Sign in again to continue. Your servers are not affected. unauthenticated Sign in again. Your servers are not affected.
Your role does not allow this. Ask an owner or admin if you need it. forbidden, insufficient_scope Your role or the key's scope does not allow this. Ask an owner or admin.
Wait a moment and try again. rate_limited Too many requests. Wait for the number of seconds in the retry-after header and try again.
Something went wrong on our side internal Try again in a moment. If it continues, write to support with the reference shown, or the x-request-id header.
This does not look like a public SSH key. It should start with ssh-ed25519, ssh-rsa or ecdsa-sha2. key_invalid, key_private, key_weak Paste the public key (the file that ends in .pub), not the private one. Use an Ed25519 key or an RSA key of at least 2048 bits.
The volume is in use by a server. It is released when that server is destroyed. volume_attached Wait until the server that uses the volume is destroyed.
This volume is on a machine that cannot run this configuration. Choose another configuration or another volume. volume_machine_mismatch Choose another configuration, or another volume, that is on the same machine.
The server must be running to transfer data. invalid_state Start the server first. Transfers and backups need a running server.
The command took too long, so we stopped waiting after 45 seconds. It may still be running on the server. Try a smaller folder. - The command took longer than 45 seconds on a stopped server. Try a smaller folder, or start the server and use SSH.
An organization needs one owner. Transfer ownership first. last_owner Transfer ownership first. See Teams and roles.
You reached the key limit for this organization. limit_reached You reached a limit of your organization (keys, volumes, templates and similar). Delete one you no longer use, or ask support.
We are updating Apidly Cloud. Your servers keep running. Please check again soon. - We are updating the service. Your servers keep running. Check again soon.

API error codes

Every API error carries one of these codes in error.code, with a sentence like the one below in error.message (the text is English; some messages name the exact limit or value). Branch on the code in scripts, never on the text. New codes are added over time; a code is renamed only with its old name listed below the table. See the API reference for the error format.

Code What it means and what to do
already_closed This account is already closed. Nothing more needs to be done.
already_invited This address already has an open invitation. Resend it or revoke it first.
already_subscribed A monthly plan is already active. Change or cancel it from Billing.
already_updating An update is already running. Wait for it to finish, then try again.
amount_too_large The amount is above the maximum for one payment. Enter a smaller amount.
amount_too_small The amount is below the minimum top-up. Enter a larger amount.
auto_extend_unavailable This server cannot move to another machine automatically. Keep it where it is or deploy a new server.
bad_gateway The worker could not be reached. Retry in a moment, and contact support with the request id if it continues.
balance_ack_required The account has a balance. Confirm that you have read what happens to it, then try again.
below_floor This code would put an offer below the margin floor. Lower it, ask for a payment first, or confirm it on purpose.
budget_reached The monthly budget is used up and servers stop at the budget. Raise or remove the budget in Settings.
cannot_roll_back There is no earlier setup to go back to. Start a new update instead.
chat_template_missing The server found no chat template for this model, so the chat route cannot turn messages into a prompt. Use a chat (instruct) model that ships one, or send a plain prompt to /v1/completions.
command_refused That command is not available on a stopped server. Use a single, shorter command, or start the server and connect with SSH.
confirmation_mismatch The confirmation text does not match. Type it exactly as shown.
conflict The resource changed while you were working. Reload and try again.
consent_not_recorded We could not record your confirmation. Try again.
consent_required Confirm that we may charge your saved card automatically, then try again.
constraint_unavailable No machine matches those hardware requirements right now. Relax a requirement or choose another GPU.
count_changed The number of affected customers changed. Check it and confirm again.
credit_in_progress Another credit for this outage is being issued right now. Try again in a few seconds.
delete_window_passed A published incident can only be deleted in the first 30 minutes. Post an update instead.
draft Publish the incident before mailing customers.
email_in_use This person is already a member of the organization.
endpoint_env_unreadable The endpoint's environment variables can no longer be read. Enter them again (Edit setup) to continue.
endpoint_not_active This endpoint is not active. Start it before sending jobs.
env_too_large The environment variables are too large. Shorten the values or put large data in a file on the disk.
env_value_unsupported An environment variable contains a character this template cannot pass. Remove it or use a template with a start script.
exec_needs_stopped Commands can only run while the server is stopped. On a running server, connect with SSH.
exec_timeout The command did not finish in time, so we stopped waiting. It may still be running. Try a smaller job.
feature_unavailable This feature is not enabled for your account. Contact support if you need it.
forbidden You do not have permission to do this. Ask an owner or admin, or use a key with a higher scope.
forbidden_origin Cross-origin requests are not accepted. Call the API from a server, not from a web page.
idempotency_in_progress A request with this Idempotency-Key is still running. Wait for the Retry-After seconds, then repeat it.
idempotency_key_reused This Idempotency-Key was already used with a different request. Use a new key for a different request.
instance_suspended Our team put this server on hold, so it cannot be started from here. Write to support to find out why and how to resolve it.
insufficient_balance Your balance is too low. Add credit and try again.
insufficient_scope This API key does not have the scope this call needs. Create a key with a higher scope.
internal Something went wrong on our side. Retry in a moment, and contact support with the request id if it continues.
interruptible_unavailable Interruptible pricing is not available for this configuration. Choose on-demand.
invalid_body The request body is not valid. See fields for what to fix.
invalid_cost The X-Apidly-Cost header must be a whole number from 1 to 100. Send a number in that range, or leave the header out.
invalid_cursor The cursor is not valid. Start again without a cursor, or use the nextCursor from the previous page.
invalid_destroy_time Pick a destroy time at least a minute from now.
invalid_disk The disk size is outside the allowed range for this plan. Use a size between the minimum and maximum.
invalid_endpoint This endpoint configuration cannot run. Choose another plan or adjust the settings.
invalid_fallback Alternative plans are not available with this request. Remove them or choose on-demand with no volume.
invalid_file This is not a valid template file. Export a template and import that file.
invalid_group This group configuration is not valid. Check the plan and the limits, then try again.
invalid_groups The plan groups are not valid. Check that every plan can run this endpoint.
invalid_idempotency_key The Idempotency-Key header must be 1 to 128 printable characters without spaces. Send a UUID.
invalid_input That value is not valid. Check it and try again.
invalid_invitation This invitation is invalid or has expired. Ask for a new one.
invalid_job_timeout Synchronous jobs are limited in time. Use an asynchronous job for longer work.
invalid_json The request body is not valid JSON. Send a JSON document with Content-Type: application/json.
invalid_link This link is not valid. Use the link from the latest email.
invalid_params A value in the URL path is not valid. Check the id.
invalid_query A query parameter is not valid. See fields for what to fix.
invalid_range The minimum is above the maximum. Swap them or change one.
invalid_request The request is not valid. Check it and try again.
invalid_session The X-Session-Id header must be 1 to 128 letters, digits, dots, colons, dashes or underscores. Change it, or leave the header out.
invalid_ssh_key One or more selected SSH keys no longer exist. Update your selection.
invalid_state The current status does not allow this action. Reload and check the status first.
invalid_stop_time Pick a stop time at least a minute from now, and before the destroy time.
job_not_retryable Only a job that failed, was cancelled or expired can be retried. Submit a new job instead.
job_request_gone This job's request is no longer stored, so it cannot be sent again. Submit it as a new job, with keepRequest set if you may retry it.
key_change_widens A key's scope, permissions and expiry can only be narrowed. Create a new key for more access.
key_duplicate This SSH key is already added.
key_invalid This does not look like a public SSH key. Paste the public key, the file that ends in .pub.
key_limit_reached This API key reached its monthly spending limit. Servers already running keep running. Raise or remove the limit on the API keys page.
key_private This is a private key. Never share it; paste the public key (the .pub file) instead.
key_weak This SSH key is too weak. Use an Ed25519 key or an RSA key of at least 2048 bits.
last_owner An organization needs one owner. Transfer ownership first.
limit_reached You reached a limit of your organization. Delete one you no longer use, or contact support.
member_limit The member limit is reached. Remove a member or contact support.
member_limit_reached This team member reached their monthly spending limit. Servers already running keep running. An owner or admin can raise or remove the limit on the Team page.
method_not_allowed This path does not support this method. See the Allow header for the methods it supports.
name_taken This name is already used. Choose another name.
new_account_topup_cap New accounts have a temporary top-up limit to protect against card fraud. Add a smaller amount, or contact support.
no_capacity No machine with this configuration is available right now. Try again later or choose another GPU.
no_payment_method Save a card before turning on auto top-up.
no_subscription There is no active monthly plan.
no_update The incident has no update to send.
no_volume_space No machine that offers this GPU has room for a volume of this size right now. Try a smaller size, another GPU, or again later.
not_allowed Your role cannot do this. Ask an owner or admin.
not_draft This incident is already public.
not_found This does not exist in your organization. Check the id.
not_paused The update is not paused, so it cannot be resumed.
not_running This transfer is not running, so it cannot be stopped.
not_updating No update is running.
nothing_to_update Every worker already runs that setup. There is nothing to update.
org_closed This account was closed by its owner, so nothing in it can be changed. Switch to another organization, or write to support about unused credit.
org_suspended This organization is suspended by our team. Write to support to find out why and how to resolve it.
payload_too_large The request body is too large. The limit is 1 MB.
payment_not_found No payment with this id belongs to this organization.
plan_not_subscribable This plan has no monthly price. Choose another plan.
plan_unavailable This plan is out of stock right now. Choose another plan or try later.
port_not_open That port is not open on this server. Add it to the port list and start the server again.
price_changed The price changed. Review it and try again.
price_moved The price moved while you were choosing. Review the new price and continue, or pick another plan.
provider_busy The platform is busy. Try again in a minute.
provider_error The server could not be changed right now. Try again shortly.
rate_limited Too many requests. Wait for the number of seconds in the Retry-After header, then retry.
reauth_required Sign in again to make this change. It needs a sign-in from the last ten minutes.
redeploy_unavailable This server cannot be redeployed. Create a new server instead.
registry_in_use A template still uses this registry login. Remove it from the template first.
registry_login_refused The registry refused the saved login for this template's image. Update the registry login's username or token, then try again. Nothing was launched or charged.
release_not_restorable This release's settings are no longer accepted. Change the endpoint by hand instead.
rental_ended The machine's rental period for this server has ended. Deploy a new server instead.
reserved_term_env_name An environment variable name contains a word the platform reserves. Rename it.
reserved_term_image The image name contains a word the platform reserves. Use another image.
reserved_term_start_script The start script contains a word the platform reserves. Rename it.
role_escalation You cannot give a role more power than your own.
role_in_use Move this role's members and invitations to another role first.
role_limit The organization reached its limit of custom roles. Delete one first.
role_name_taken A role with this name already exists, or the name is reserved. Choose another.
role_not_found This role does not exist.
role_too_powerful A custom role cannot hold more than the admin role.
secret_in_use This secret is still referenced by templates or server requests. Remove those references first.
secret_missing A secret that is referenced does not exist in this organization. Create it first.
secret_values_cleared The variable values of this launch were cleared 24 hours after its server was destroyed. Enter them again to launch.
secrets_unreadable Stored secret values cannot be read. Enter them again.
server_busy A transfer is already running on this server. Wait for it to finish.
server_limit_reached This organization reached its limit of active servers. Stop or destroy one, or contact support to raise the limit.
server_not_running The server must be running. Start it first.
servers_exist Destroy all servers and storage, and cancel open server requests, before closing the account.
slug_reserved This slug is reserved for built-in templates. Choose another.
slug_taken This slug is already used. Choose another.
spend_cap_reached This endpoint reached its monthly spending cap. Raise or remove the cap, or wait for the next month, then resume it.
ssh_key_required Select at least one SSH key, or add one first.
sso_required This organization requires single sign-on. Sign in with your company account to continue.
start_script_too_large The start script is too long. Shorten it, or keep long logic in a file and start it from a short script.
template_gpu_unsupported This template does not run on this plan's GPU family yet (for example, older inference images do not run on RTX 50-series and other Blackwell GPUs). Choose a plan with another GPU.
template_hardware This plan has less hardware than the template needs. Pick a plan that meets the template's needs.
template_not_http This template does not expose an HTTP port, so it cannot back an endpoint. Choose another template.
template_unavailable This template is not available right now. Choose another template.
terminal_not_enabled This server was not launched with the browser terminal. Use SSH instead.
terminal_port_unmapped The terminal's port is not reachable yet. Try again in a minute.
terminal_unsupported The browser terminal needs a template that runs a start script. Choose another template.
ticket_closed This ticket is closed. Open a new one or reopen this one.
too_many Too many customers are in scope. Narrow the affected components.
too_many_endpoints The endpoint limit is reached. Delete one or contact support.
too_many_groups The group limit is reached. Delete one or contact support.
too_many_jobs Too many jobs are waiting on this endpoint. Wait for some to finish.
too_many_pending Too many requests are waiting for a decision. Wait for one or cancel one.
too_many_ports This server would expose more ports than the platform allows. Remove some ports.
too_many_tags A server can have at most 10 tags. Remove one first.
too_many_transfers Too many transfers are running. Wait for one to finish.
transfer_in_progress A backup or copy on this server has not finished or has not been checked yet. Wait until it shows Completed, or send force to continue.
two_factor_required Your organization requires two-factor authentication. Set it up in Security settings first.
unauthenticated Missing, invalid or revoked API key. Send Authorization: Bearer with a current key.
unknown_secret A referenced secret does not exist. Create it under Settings, Secrets first.
unsupported This change is not possible right now.
upstream_error The balance could not be refreshed. Try again in a minute.
url_blocked_host That URL cannot be used for webhooks. Use a public HTTPS address.
url_not_chat_webhook That is not an incoming-webhook address of the chat app you picked. Copy the webhook URL from Slack, Discord or Teams.
variable_set_unreadable A saved variable set can no longer be read. Enter its values again on the Variable sets page, then try again.
volume_attached The volume is in use by a server. It is released when that server is destroyed.
volume_in_use This volume is already used by a server.
volume_machine_mismatch This volume is on a machine that cannot run this configuration. Choose another configuration or volume.
volume_on_machine A volume lives on this machine, and a server can only use a volume on its own machine. Delete or empty the volume first, or keep the machine.
volume_plan_required Choose the GPU this volume is for. A volume lives on one machine, so it is created on a machine that offers that GPU.
volume_reserved A server request is waiting to use this volume. Wait for the decision or cancel it.
volume_unavailable This volume cannot be attached to a server right now.
vram_too_small This plan has less GPU memory than the template needs. Pick a plan with more memory.
webhook_disabled_by_staff Staff turned this endpoint off. Contact support to turn it back on.
wrong_account This invitation was sent to a different address. Sign in with the invited address.

Deprecated codes: contract_expired is the old name of rental_ended. The API no longer sends an old name; the SDKs and the CLI still read it as the new name (no date is set for ending that).

Ready to try it?

Create a free account and add credit when you want to start a server. The smallest top-up is $10.

Create a free account

Was this helpful?

Still stuck? Contact us