WuDi APIWuDi API

API errors: 401, 403, 404, 429 and model_not_found

Start by saving the final request path, HTTP status and redacted error response. Changing the key, model and client at the same time makes the cause harder to identify. Error formats vary by model and route; interpret a status together with its response body.

Record the details needed for diagnosis

  1. Time and timezone.
  2. Client name, version and environment.
  3. Request method and path, excluding credentials.
  4. Exact model ID.
  5. HTTP status and redacted error type and message.
  6. Request ID, where provided.

Do not share complete keys, authorization headers, private prompts or account screenshots. Use a short, non-sensitive example request.

Distinguish JSON from a website response

An HTML home or sign-in page usually calls for checking the final URL and redirects before changing model parameters. Look for repeated version or resource paths. See Base URL guidance.

SymptomCheck firstRetry?
401Key, expiry, active state and Bearer formatFix authentication first
403Group, model, IP and allowance restrictionsConfirm access first
404Final path, resource and model IDFix the address or identifier
model_not_foundExact ID, key-visible models and protocolRepeated requests do not fix a wrong ID
429Error details, frequency, concurrency and quotasOnly retry a recoverable condition
5xx or timeoutResponse, usage log and request IDUse bounded retries after checking completion

401: verify the platform key

Use the key created on this platform. Check whitespace, quoting, truncation, expiry and revocation. A key accepted by another provider does not automatically work at this base address. Revoke a leaked key rather than sharing it for debugging.

Permissions and allowances

A funded wallet does not override an exhausted, expired or restricted key. Confirm model access, group eligibility and any request allowance. Read the actual error before adding credit or repeating a request.

404 and model_not_found

Separate path failures from model failures. Copy an exact ID from the current catalog and compare it with the key's model list. Public listing alone does not verify the key's group or the current route. Check that the model and request protocol agree.

429, service errors and interruptions

A 429 can refer to different limits; waiting is not a universal remedy. For a recoverable limit, reduce concurrency, respect Retry-After where present and bound the retry count. Authentication and invalid-parameter failures require correction.

A timeout or interrupted stream does not establish that generation failed upstream. Check logs and charges before retrying. Do not silently join a restarted generation to the first partial answer.

Contact support with a useful report

Provide the time, client version, endpoint, model ID, status, request ID and redacted error response. Support QQ: 318401088. The platform error reference includes additional states such as request-size errors and unavailable channels.