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
- 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.
- 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.
- 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.
