Identify the endpoint
Record whether the error happened in local validation, media upload, a read-only quote request or job creation. Use the documented status and account history to see whether any job was accepted.
Safely retry the right operation
Correct the file or parameter and request a fresh quote where appropriate. If create was attempted and the outcome is uncertain, follow the existing idempotency and status workflow for that original attempt first.
Example
A reference file uploads, then the quote rejects the requested output size. The user can change the size and read the next estimate without treating the prior message as a finalized generation charge.
Pass condition
Your proof links any charge claim to a specific verified job and separates preflight corrections from billing recovery.