Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.