The Api Request Failed With The Following Error 500 Internal Server Error