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

Was anyone able to find a proper solution for this issue?