Skip to content

Why does my H3 request say the reference file was not found?

Check that the ID came from a successful AISwapLab /files upload in the same account, has the expected media type and has not been moved to Trash. A syntactically valid UUID is not proof of an owned usable resource. Photo and reference-video IDs belong in different H3 fields, and a deleted or mismatched asset cannot be quoted correctly.

BUILD WITH MINIMAX H3AISwapLab team · Editorial methodUpdated 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Trace the upload response; Check type and current state; Re-quote after correction.
Workflow diagram: Trace the upload response → Check type and current state → Re-quote after correction. Read the article for evidence and limits.

Resource identity is more than a filename

Local paths, provider IDs and tutorial placeholders are not customer-owned file IDs. A valid API key from another account also cannot reuse your private reference simply by knowing its identifier. Keep uploaded asset IDs linked to your application's user, source version and intended use so later retries load the same media.

What to do next

  1. 01

    Trace the upload response

    Find the original successful response and compare its ID, kind and returned duration where applicable. Do not infer identity from a similarly named local file.

  2. 02

    Check type and current state

    Use input_image_id for a photo and reference_video_id for an MP4 reference. If an unexpired asset was trashed, restore it through the supported account library workflow when appropriate. Expired private media cannot be restored; upload a new authorized copy and check the new reference identifier before submitting.

  3. 03

    Re-quote after correction

    Once the correct owned resource is available, request the intended quote again. If the media changed, treat that as a revised payload rather than a silent mutation of an old idempotent task.

A concrete example

Illustrative mix-up: a developer places the reference MP4's ID into input_image_id. The account owns the asset, but its type is wrong. Correct the field assignment instead of making the storage bucket public or buying credits.

Before you call it ready

  • The ID is traced to a successful owned upload.
  • The field matches the asset's media type.
  • The revised request is quoted deliberately.

When to stop or choose another method

If ownership cannot be established, stop and correct account routing. Do not attempt to make another account's private reference accessible by weakening storage permissions.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation