Show / Hide Table of Contents

    400 - Too Few Elements

    • v2
    • validation
    • pro
    • api
    • shipments
    • error
    • 400
    Tip

    The error code too_few_elements will be returned if you do not provide enough values in a collection when creating or updating an object.

    This error code would be returned, for example, if you attempt to create a new shipment but do not provide a sufficient number of addresses.

    Note

    A shipment requires a minimum of 2 addresses - an origin and a destination.

    This error code may apply in other circumstances as well. For example:

    • an insufficient number of contents in a shipment (at least 1 is required)
    • an insufficient number of addresses in a shipment (at least 2 are required)
    • an insufficient number of shipments when attempting to allocate multiple shipments (at least one shipment reference is required)
    Back to top Copyright © Sorted Group 2023. Generated by DocFX