| You see | Do this |
|---|---|
unsupported type ... from generate | Use wire types in the signature. |
BAD_REQUEST with an args[...] path | The argument at that path does not match the signature. |
this app was built against a different version of the backend | bunx arkapi generate, then rebuild and reinstall the app. |
unknown endpoint | Deploy after adding the function: bunx arkapi deploy. |
LiveValue needs a query | Back 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 in | bunx arkapi login. |
bun add installs an older ArkAPI, a new command is missing, or no commit matching "v…" found | Bun 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 generating | ohpm install, then build again. |
| The app still calls an old backend | DevEco: Build → Clean Project, then build. |
| A route returns 404 | Call <base>/http/<path> with the declared method, after a deploy. |
| A job does not run | bunx arkapi logs; check the interval or the UTC time. |
429 | The app passed 600 requests per minute; see limits. |
| Backend crashes | bunx arkapi logs. The host restarts it; Recent errors shows what failed. |
bun:sqlite or process red in DevEco | Run bunx arkapi init, then reopen the project. |
Troubleshooting
The message you see and what to do.
2 MIN READView Markdown ↗