Swagger.json issue Dolibarr 15.0.2

Hi,

I enabled the API and want to go to the swagger dictionary but receive the following error:
500 : https://test-autoenanders.dolibar.nl/api/index.php/explorer/swagger.json

I tried disabling some modules but that doesn’t help. Any suggestions how to fix this?

Any solution on this please? I am also facing same issue. Anyone please.

First idea is to at least update to the latest v15, i.e. 15.0.3 or, if possible to a later main version.

Hello,

Error 500 means PHP error => Check your hosting logs

Hi @ksar

I have two Dolibarr v7 installed in my local one is modified(have few custom modules and code modification) and another one is fresh Dolibarr v7 the fresh one’s API Explorer is working fine but the modified not. I am looking into into it and trying to find the issue but not sure how and where to check :frowning_face:

Sorry @priojk not possible to upgrade at this moment as we have modified in some core areas too. But will try in future for sure.

Thanks all