Does specifying NODE_ENV=development or SIGN_IN_PREFILLED=true affect self-hosted in API playground?

I saw a few posts saying that they could not access API documentation (https://twenty.com/developers/rest-api/core#/) with self-hosted, which I am also one of them. It seems that there is no solution yet, only work around. Only on 07/03/2025, I was able to use the playground for both REST and GraphQL APIs with my API key. It was on the same day that I tried changing these environments for my server container. Now it does not work again, although I didn't modify anything since. So, I would like to ask if these two variables affect the playground, or does anybody know the solution? I am not sure if it was due to the update 3 days ago or not, that I managed to access the documentation. I am able to send and get response properly with REST API, just could not use the playground. My instance is version 0.43.2.
Twenty.com
Open Source CRM
12 Replies
thomast
thomast4w ago
Hi, to access the playground locally, you need NODE_ENV=development in your server env indeed
Leeching
LeechingOP4w ago
Hi, thank you for the reply. I set NODE_ENV=development, however, the playground does not render. There seems to be an update about openAPI in main. Do you know if this affects the rendering on playground or is there any way to host the playground locally?
thomast
thomast4w ago
@Félix is it what you worked on?
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Leeching
LeechingOP3w ago
I could not see any error, only 200 and 204 responses.
No description
Leeching
LeechingOP3w ago
There are 2 issues, saying that @import rule was ignored and it affects
<script src="/_next/static/chunks/app/(public)/layout-8edb1e8dbff59cfa.js" async=""></script>
<script src="/_next/static/chunks/app/(public)/layout-8edb1e8dbff59cfa.js" async=""></script>
Leeching
LeechingOP3w ago
No description
Leeching
LeechingOP3w ago
I forgot to mention that I updated to 0.43.5, the latest tag for docker.
thomast
thomast2w ago
Hi @Leeching, do you still have an issue here?
Leeching
LeechingOP2w ago
Hi Thomast, the issue is still persist.
thomast
thomast2w ago
what is the answer in your core query? do we agree the url starting with emu-noris your api?
Leeching
LeechingOP2w ago
yes, the url is from me tunnelling with ngrok. After I checked, it seems like it failed to reach backend, I think it is my fault. When I tried with localhost, now it works fine when I turned off my adblock. Thank you for your help!

Did you find this page helpful?