Get 500 error on client side but 403 in terminal for the backend

Has anyone found a good solution for this issue?