Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/content/self-host/workers/vercel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Connect your GitHub repository to Vercel and push. Vercel builds and deploys.

<Step title="Register the URL">

Set your deployment URL with the `/api/rivet` path as the serverless runner URL in the dashboard, for example `https://my-app.vercel.app/api/rivet`.
Set your deployment URL with the `/api/rivet` path as the serverless runner URL in the dashboard, for example `https://my-app.vercel.app/api/rivet`. In the dashboard, open **Settings → Providers**, add (or edit) the provider named `default`, paste the URL, and select at least one datacenter.

</Step>

Expand Down Expand Up @@ -112,6 +112,15 @@ Error: ENOENT: no such file or directory, mkdir '.../rivetkit/.../state'

`RIVET_ENDPOINT` is not set, so the SDK fell back to the file system driver, which cannot write in Vercel's read-only environment. Set the variable. The [preview-namespace-action](https://github.com/rivet-dev/preview-namespace-action) configures it automatically.

</Accordion>
<Accordion title="No runner config with name 'default'">

```
RivetError: No runner config with name 'default' are available in any datacenter for the namespace '...'
```

Rivet has no usable provider named `default` for the namespace. In the dashboard, open **Settings → Providers**. If no provider named `default` is listed, add one with your deployment URL (see Register the URL). If it is listed, edit it and make sure at least one datacenter is selected.

</Accordion>
<Accordion title="Metadata endpoint missing clientEndpoint">

Expand Down