Fresh install | Runtime Error A runtime error has occurred

Hello everyone.

I have just installed ONLYOFFICE Workspace Community from RPM/DEB packages using the provided script:

I have just installed it successfully on Ubuntu 22.04 and everything works/runs fine
with the following commands:

wget https://download.onlyoffice.com/install/workspace-install.sh
bash workspace-install.sh

EXPECT the API

If i go to https://mydomain.com/api/2.0

I am seeing this Runtime Error:

Does anyone how i can enable the API and how can i configure it so that the error will be gone so that i can generate a JWT token and use the API correctly?

P.S - I don’t use DOCKER. this is a NON Docker installation!