getting internal server error

getting internal server error

i am trying to get roles for my web application successfully created the access token from grant token and it is refreshed and is working (not expired).