The below table defines the validation error codes that this API may return for method validation. In addition to these, normal HTTP error codes apply.
Error Code | Description |
---|---|
4001 | Missing required field |
4002 | Not able to find an object |
4003 | Must be unique value |
4004 | User can not access an object |
4005 | Must be a numeric value |
4006 | Must be an array |
4007 | Must be one of the allowed values |
4008 | Must be a string |
4009 | Must be a boolean |
4010 | Must be a valid date |
4011 | Must be a valid file URL |
4012 | Must be a valid image URL |
4013 | Related channel type is not supported |
4014 | Mismatch between sales order and channel |
4015 | Mismatch between client and channels |
4016 | Templates limit exceeded |
4017 | Mismatch between sales order and sales order item |
4018 | Custom field value must match the type |
4019 | Each attachment must match format AttachmentRequest |
4020 | Character limit reached |
4021 | Must be an email |