"""Generic error code and messages.""" ERROR_CODE_AUTHORIZATION = 'authorization_error' ERROR_CODE_BAD_GRASS_REQUEST = 'bad_grass_request_error' ERROR_CODE_INVALID_JSON = 'invalid_json_error' ERROR_CODE_INVALID_REQUEST = 'invalid_request_error' ERROR_CODE_NOT_FOUND = 'not_found' ERROR_CODE_NOT_TYPE = 'not_expected_type' ERROR_CODE_OWS_USERS_REQUEST = 'ows_users_error' ERROR_CODE_OWS_COLLABORATOR_REQUEST = 'ows_collaborator_error' ERROR_CODE_OWS_PERMISSIONS_REQUEST = 'ows_permissions_error' ERROR_CODE_OWS_ROYALTIES_REQUEST = 'ows_royalties_error' ERROR_CODE_INVALID_INPUT = 'invalid_input' ERROR_CODE_VALIDATION_ERROR = 'input_validation_error' ERROR_CODE_MASTER_CONTACT_ERROR = 'master_contact_error' ERROR_MESSAGE_MISSING_GRASS_HEADERS = 'Missing Grass Headers' ERROR_MESSAGE_INCOMPLETE_GRASS_HEADERS = 'Incomplete Grass Headers' ERROR_MESSAGE_INVALID_GRASS_ACCOUNT_TYPE = 'Invalid Grass Account Type' ERROR_MESSAGE_FORBIDDEN_USER = 'User is forbidden' ERROR_MESSAGE_UNAUTHORIZED = 'Unauthorized' ERROR_MESSAGE_NO_MATCH = 'No match for request' ERROR_MESSAGE_NOT_SME = 'Account is not SME' ERROR_MESSAGE_NOT_SUBACCOUNT = 'Account is not a subaccount' ERROR_MESSAGE_NOT_FOUND = 'Not found' ERROR_MESSAGE_SUBACCOUNT_NOT_FOUND = 'SubaccountId not found' ERROR_MESSAGE_INVALID_SUBACCOUNT_STATUS = 'Invalid status for subaccount {}.' ERROR_MESSAGE_UNKNOWN_COUNTRY = 'Country code not recognized: {code}' ERROR_MESSAGE_FEATURE_NOT_FOUND = 'No features found for feature_ids: {feature_id}.' ERROR_MESSAGE_INVALID_REQUEST = 'Request payload is not valid' ERROR_MESSAGE_INVALID_VENDOR_ID = 'Invalid vendor id' ERROR_MESSAGE_MISSING_VENDOR_ID = 'No vendor id provided' ERROR_MESSAGE_UNAUTHORIZED_TENANT_ACCESS = 'Unauthorized to access tenants.' ERROR_MESSAGE_UNAUTHORIZED_BULK_TENANT_ACCESS = 'Unauthorized to access one or more tenants.' ERROR_MESSAGE_INVALID_MASTER_CONTACT = 'Multiple master contacts found for vendor.' SUCCESS_CODE = 'ok'