Make API response helpful

When I get a {"code":9109, "message":"Unauthorized to access requested resource"} it would be nice if the API responded with the name and/or ID of the permission needed.