Read about OpenEMR's Response to the COVID-19 Pandemic at

I am getting 500 on auth api

Hi All,

I am not able to access openEMR auth api,it’s give 500 error.
so i checked the code on route file return (new AuthRestController())->authenticate($data) this function is not called.i am thinking that the controller is not loaded that’s why it’s not create a object on that class.

can you please tell me how to load that controller inside .my controller is inside src directory.


Hi Ram,

Can you send a screenshot of the code in question?

If you’re using the script from the test folder I think it assumes your openemr web interface is on port 8300(development) instead of 80(production)