NOT_FOUND

We couldn't find what you were looking for.

HTTP status: 404

Why this happens

The resource doesn't exist or isn't visible to your account.

How to recover

Verify the id (instance/checkpoint/run id) and the org you're acting in.

Branching on this code

TypeScript
import { ApiError } from "@firecase/sdk";

try {
  await firecase.someCall();
} catch (e) {
  if (e instanceof ApiError && e.code === "NOT_FOUND") {
    // recover here
  }
  throw e;
}