twenty icon indicating copy to clipboard operation
twenty copied to clipboard

Error: Workspace is already being created

Open sentry[bot] opened this issue 6 months ago • 3 comments

suspected input: https://github.com/twentyhq/twenty/pull/9157

sentry[bot] avatar May 09 '25 14:05 sentry[bot]

Hi this issue is still ongoing @AMoreaux had you worked on fixing it?

ijreilly avatar Jun 30 '25 08:06 ijreilly

Yes it's fixed 👌

AMoreaux avatar Jun 30 '25 08:06 AMoreaux

@AMoreaux I re-opened it because we still have daily occurences of this issue, so looks like it's not fixed unless something was merged and not deployed yet ?

ijreilly avatar Jun 30 '25 12:06 ijreilly

Sentry issue: https://twenty-v7.sentry.io/issues/6567296352/?project=4507072499810304

It's a UX problem. We shouldn't be able to click on create workspace twice.

AMoreaux avatar Sep 01 '25 07:09 AMoreaux

I attempted to reproduce this locally but was unable to.

From my observations, the “Create Workspace” button is only shown on login for users without a workspace and is already disabled via isSubmitting during submission.

The reported Sentry errors are likely caused by rare race conditions in other environments (e.g., network latency, old sessions, or testing setups) and should not occur in normal usage.

Please let me know if I missed anything or if additional reproduction steps are needed.

SaurabhJain708 avatar Sep 14 '25 00:09 SaurabhJain708

I attempted to reproduce this locally but was unable to.

From my observations, the “Create Workspace” button is only shown on login for users without a workspace and is already disabled via isSubmitting during submission.

The reported Sentry errors are likely caused by rare race conditions in other environments (e.g., network latency, old sessions, or testing setups) and should not occur in normal usage.

Please let me know if I missed anything or if additional reproduction steps are needed.

I had the same conclusion. But today, I don't have more context to reproduce the issue.

AMoreaux avatar Sep 15 '25 07:09 AMoreaux