onpremises icon indicating copy to clipboard operation
onpremises copied to clipboard

Can't create more than 537 workspaces

Open iowaz opened this issue 1 year ago • 2 comments

Description

I'm having a really od issue - for some reason, I can't create more than 537 workspaces and can't find a reason - the POST endpoint returns 200 in status code and the JSON body expected, but the workspace ID doesn't change (the Key and Secret does).

Steps to reproduce

1 - Make a cURL to the admin API, like that: curl --location --request POST '(your domain)/api/workspace'
--header 'X-Authorization: (your admin key)' 2 - Make another equal cURL and sees the same workspace ID (for some od reason on the 537 number)

Screenshot

Captura de Tela 2024-04-05 às 13 48 51

Code sample

No response

Configuration

Build 2024.03.03

Severity

Major

Priority

I'm willing to fix this myself and raise a PR (please confirm approach first)

More information

No response

iowaz avatar Apr 05 '24 16:04 iowaz

I tried deleting the workspace with ID 537 and 536 - the API recreates both and locks again in 537

iowaz avatar Apr 05 '24 16:04 iowaz

image Well... I deleted all my workspaces with the DELETE method (I don't use archiving) - now I'm locked in the workspace ID 550.

The return of the cURL post method: image

iowaz avatar Apr 05 '24 20:04 iowaz