> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I fix the error `resume='must' but run ([RUN-ID]) doesn't exist`?

If you encounter the error `resume='must' but run ([RUN-ID]) doesn't exist`, the run you're attempting to resume doesn't exist within the project or entity. Ensure that you're logged in to the correct instance and that the project and entity are set. Replace `[ENTITY]`, `[PROJECT]`, and `[RUN-ID]` with your entity, project, and run ID:

```python theme={null}
wandb.init(entity=[ENTITY], project=[PROJECT], id=[RUN-ID], resume='must')
```

To verify that you're authenticated, run [`wandb login --relogin`](/models/ref/cli/wandb-login).

***

<Badge stroke shape="pill" color="orange" size="md">[Resuming](/support/models/tags/resuming)</Badge><Badge stroke shape="pill" color="orange" size="md">[Runs](/support/models/tags/runs)</Badge>
