Check for error when encoding the request action.