[DashScope SDK skill notes]: For DataInspectionFailed, adjust the input or output prompts (or change the input image) to pass moderation; do not try to work around the content policy. Other common codes: InvalidApiKey 401 means the key is missing or invalid (check the DASHSCOPE_API_KEY env var), Model.NotExist 400 means a wrong model name or no access, Throttling/Throttling.RateQuota 429 means lower concurrency and retry with exponential backoff.

Context: A DashScope (Model Studio) call returns HTTP 400 with code DataInspectionFailed instead of a model response. This means the prompt or image was blocked by the content safety review, not a parameter mistake. A related gotcha: Generation.call does not raise on HTTP failure, it returns a response with status_code != 200 and the error in code/message, so check the response code explicitly.