I am trying to access the Dolibarr Swagger API, but I am encountering an issue where the page appears empty

The Swagger API documentation should be displayed with all available endpoints, methods, and descriptions. But The page is empty, and no content is visible.

I’m using a valid token
I have enabled API in the modules, and all modules are enabled.

and you press the explorer button?

yeah with a valid token i do

  1. try creating a new token for the same user and see if that works
  2. try creating another user, and an API token for that user and see if that works

still same problem, and when use postman it gives this :
{
“error”: {
“code”: 404,
“message”: “Not Found”
}
}

Do you use NGINX as web server ?
It needs a special configuration to work properly

Yes im using nginx, can you share with me the special config or a link !

1 Like

thanks man, that was helpful