API does not seem to work

I self hosted Twenty, and im trying to use the rest API. It loads forever, and the terminal prints this error
No description
9 Replies
Marcelo Granzotto
Marcelo GranzottoOP2mo ago
also, the route that works outputs this
No description
Prastoin
Prastoin2mo ago
Hello @Marcelo Granzotto, not clear what you're intially trying to do ? Retrieve the OpenApi spec ? Search for a custom object you called open-api ?
Marcelo Granzotto
Marcelo GranzottoOP2mo ago
i mean no route returns 200 they all just load forever
Marcelo Granzotto
Marcelo GranzottoOP2mo ago
/notes here for example
No description
Marcelo Granzotto
Marcelo GranzottoOP2mo ago
or /tasks
No description
Marcelo Granzotto
Marcelo GranzottoOP2mo ago
i have to enable something in the .env for the API to work? or configure something
Prastoin
Prastoin2mo ago
That's a very high level issue that seems to be related to be your twenty-server deployment If I was you I would check my server's logs in order to check its status
Marcelo Granzotto
Marcelo GranzottoOP2mo ago
thats the error that it shows
No description
Prastoin
Prastoin2mo ago
I'm afraid I don't have enough information to help you out there I would tend for an authentication issue Please to reduce the scope of your issue to determine its exact nature and in the best of the world resolve it during that process

Did you find this page helpful?