Trying to update workspace description throws error

Hey.

I’m trying to update the description of my public workspace, however it gives me the error:

{
  "error": {
    "name": "workspaceSlugNotUniqueError",
    "message": "Workspace Slug is not unique in the account context"
  }
}

I’m keeping the same name and type. The only thing that changes is the description…

What am I doing wrong? I don’t have any other workspace.

Thank you

Hey @andreolveira

Which endpoint are you using?

For that workspace Id, what is returned using the single GET Workspace call?

I’m using the PUT method.

I get the following with the GET request:

{
  "workspace": {
    "id": "<id>",
    "name": "<name>",
    "type": "team",
    "description": "<Description>",
    "visibility": "public",
    "createdBy": "23774142",
    "updatedBy": "23774142",
    "createdAt": "2024-06-12T11:32:22.000Z",
    "updatedAt": "2024-09-30T15:30:12.000Z",
    "collections": [
      {
        "id": "<id>",
        "name": "<name>",
        "uid": "<uid>"
      }
    ]
  }
}

Thanks for the feedback, @andreolveira!
It looks like a bug. We are looking into it.

1 Like