Home > @infiniteobjects/shopify-data-manager > AdminTypes > LocationEditUserErrorCode
Possible error codes that can be returned by LocationEditUserError
.
Signature:
export declare enum LocationEditUserErrorCode
Member | Value | Description |
---|---|---|
AppNotAuthorized | "APP_NOT_AUTHORIZED" |
ApiPermission metafields can only be created or updated by the app owner. |
Blank | "BLANK" |
The input value is blank. |
CannotDisableOnlineOrderFulfillment | "CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT" |
At least one location must fulfill online orders. |
CannotModifyOnlineOrderFulfillmentForFsLocation | "CANNOT_MODIFY_ONLINE_ORDER_FULFILLMENT_FOR_FS_LOCATION" |
Cannot modify the online order fulfillment preference for fulfillment service locations. |
DisallowedOwnerType | "DISALLOWED_OWNER_TYPE" |
Owner type can’t be used in this mutation. |
GenericError | "GENERIC_ERROR" |
An error occurred while editing the location. |
Inclusion | "INCLUSION" |
The input value isn’t included in the list. |
Invalid | "INVALID" |
The input value is invalid. |
InvalidType | "INVALID_TYPE" |
The type is invalid. |
InvalidUsZipcode | "INVALID_US_ZIPCODE" |
The ZIP code is not a valid US ZIP code. |
InvalidValue | "INVALID_VALUE" |
The value is invalid for the metafield type or for the definition options. |
NotFound | "NOT_FOUND" |
The record with the ID used as the input value couldn’t be found. |
Present | "PRESENT" |
The input value needs to be blank. |
Taken | "TAKEN" |
The input value is already taken. |
TooLong | "TOO_LONG" |
The input value is too long. |
TooShort | "TOO_SHORT" |
The input value is too short. |
UnstructuredReservedNamespace | "UNSTRUCTURED_RESERVED_NAMESPACE" |
Unstructured reserved namespace. |