@qtsurfer/api-client
    Preparing search index...

    Type Alias ImportDatasetErrors

    type ImportDatasetErrors = {
        "400": ResponseError;
        "402": PlanRequiredError;
        "403": InsufficientScopeError;
        "409": ResponseError;
        "429": ResponseError;
    }
    Index

    Invalid request; instrument isn't a plain spot pair; from >= to; cadence present but not one of its supported values; the requested range exceeds your tier's import range ceiling; the requested range's rough size estimate exceeds your tier's row limit; dex.network/dex.id not one of their supported values; dex.contract/dex.factory fail basic shape validation; or, when cadence is omitted, dex.id/dex.version missing. Whether the pool/pair actually exists and resolves — and, for a candle cadence, whether that combination is actually servable on the requested network — is checked later, asynchronously — see the failed status on the poll endpoint below.

    For type: cex: no cex block, or its exchange is not a centralized exchange of GET /exchanges (a decentralized one is 400 too — use type: dex), segment is not spot (the only segment a cex import takes today), dataType is not ticker or klines, or cadence is not one of the values a cex import takes (see DatasetImportRequest). Whether the range holds data, and whether it holds data fine enough for the cadence asked, is checked later, asynchronously — see the failed status on the poll endpoint below.

    cadence is not one of the cadences your plan includes, or the request would give you per-trade data (a dex import with no candle cadence) and your plan does not include it. The message names the plan and what it includes. Retrying will not help until the plan changes, so there is no Retry-After.

    The API key behind the token does not carry the scope this operation needs; required names it. Create or edit the key in the web app to give it that scope, then ask for a new token: the scopes of a token are the ones the key had when it was issued. See Authentication and scopes.

    You already have a dataset with this name

    Your tier's dataset count limit is reached, or your account's total storage limit (GET /account's maxTotalStorageBytes) is already reached. Delete a dataset to free a slot or space, or upgrade.