auth.no_workspace
The authenticated user has no active workspace; the onboarding flow is required.
auth.no_workspace is returned when the authenticated user's session is valid but they have not been provisioned into any workspace. This can occur for new users who signed in via a magic-link but did not complete the workspace creation step, or for users whose workspace was deleted.
The user is authenticated but has no workspace membership. This is expected for brand-new users who have not finished onboarding.
Redirect the user to the workspace creation or onboarding flow. Once a workspace is created and the user is added as a member, subsequent requests will succeed.
{
"error": {
"code": "auth.no_workspace",
"message": "no active workspace for this user",
"request_id": "req_01900000abc"
}
}