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

1 messages · Page 1 of 1 (latest)

kind ferry
#

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.

summer folio
#

Hi, to access the playground locally, you need NODE_ENV=development in your server env indeed

kind ferry
#

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?

summer folio
#

@leaden mango is it what you worked on?

leaden mango
#

Hey, I checked but it's working for me

#

We are actually moving the playground to be directly part of the product starting from 0.44 so the website playground will be deactivated in a couple weeks

#

But I can't figure out why you can't get access now. Could you open your network tab in Chrome and let us know if you see any error?

#

Any screenshot you can provide would be helpful! Thanks

kind ferry
#

I could not see any error, only 200 and 204 responses.

#

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>

#

I forgot to mention that I updated to 0.43.5, the latest tag for docker.

summer folio
#

Hi @kind ferry, do you still have an issue here?

kind ferry
#

Hi Thomast, the issue is still persist.

summer folio
#

what is the answer in your core query? do we agree the url starting with emu-noris your api?