Troubleshooting

The message you see and what to do.

2 MIN READView Markdown ↗
You seeDo this
unsupported type ... from generateUse wire types in the signature.
BAD_REQUEST with an args[...] pathThe argument at that path does not match the signature.
this app was built against a different version of the backendbunx arkapi generate, then rebuild and reinstall the app.
unknown endpointDeploy after adding the function: bunx arkapi deploy.
LiveValue needs a queryBack the LiveValue with a query (get…, list…); run mutations with AsyncValue.
errorCode === 'NETWORK'Check connectivity and the BASE URL in the generated client.
ArkAPI: not logged inbunx arkapi login.
bun add installs an older ArkAPI, a new command is missing, or no commit matching "v…" foundBun reuses its cached clone of the repository and does not fetch new commits or tags. Run bun pm cache rm, then bun add again.
Build fails after generatingohpm install, then build again.
The app still calls an old backendDevEco: Build → Clean Project, then build.
A route returns 404Call <base>/http/<path> with the declared method, after a deploy.
A job does not runbunx arkapi logs; check the interval or the UTC time.
429The app passed 600 requests per minute; see limits.
Backend crashesbunx arkapi logs. The host restarts it; Recent errors shows what failed.
bun:sqlite or process red in DevEcoRun bunx arkapi init, then reopen the project.
Tab to navigate results · Enter to open · Esc to close