Show / Hide Table of Contents

    400 - Invalid Format

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

    The invalid_format error code will be returned if you make a request to an API endpoint which includes either a route parameter or a query string parameter for format

    This error code will be returned, for example, if you make an API call to retrieve a label but provide an invalid or unrecognised format, e.g.:

    GET /labels/sp_00982822462453834198775303766026?format=jpeg
    

    The supported format depends on the API endpoint, but generally includes either PDF, pdf, ZPL, or zpl.

    Back to top Copyright © Sorted Group 2023. Generated by DocFX