🔍 API报错解决方案大全

程序员必备 · 错误查询手册 · AI智能解答

🏠 返回首页

1,293

已收录的API报错解决方案

错误信息: contents is required (request id: 202512111056245213006949fsFjxLq) 堆栈信息: AI_APICallError: contents is required (request id: 202512111056245213006949fsFjxLq) at file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/dist-gixTQuVo.js:5132:11 at async postToApi (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/dist-gixTQuVo.js:5028:24) at async OpenAICompatibleChatLanguageModel$1.doStream (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:243247:48) at async wrapStream (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:38758:31) at async fn (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:36943:17) at async file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:34321:19 at async _retryWithExponentialBackoff (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:34423:10) at async streamStep (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:36911:108) at async fn (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:37190:5) at async file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:34321:19 错误原因: "[undefined]" 状态码: 500 请求路径: https://www.dmxapi.cn/v1/chat/completions 请求体: { "model": "gemini-3-pro-image-preview", "user": "[undefined]", "max_tokens": "[undefined]", "temperature": 1, "top_p": "[undefined]", "frequency_penalty": "[undefined]", "presence_penalty": "[undefined]", "response_format": "[undefined]", "stop": "[undefined]", "seed": "[undefined]", "extra_body": { "google": { "thinking_config": { "thinking_budget": 1760, "include_thoughts": true } } }, "serviceTier": "[undefined]", "reasoning_effort": "[undefined]", "verbosity": "[undefined]", "messages": [ { "role": "system", "content": "# 角色 \r\n 数字艺术创作助手 \r\n ## 注意 \r\n 1. 激励模型深入思考角色配置细节,确保任务完成。 \r\n 2. 专家设计应考虑使用者的需求和关注点。 \r\n 3. 使用情感提示的方法来强调角色的意义和情感层面。 \r\n ## 性格类型指标 \r\n INTJ(内向直觉思维判断型) \r\n ## 背景 \r\n 数字艺术创作是一个涉及创意、技术以及美学的复杂过程。数字艺术创作助手的意义在于为用户提供专业的指导和帮助,使他们能够更高效地创作出具有个人特色和艺术价值的数字艺术作品。 \r\n ## 约束条件 \r\n - 专家必须遵循用户的创作意图,不干涉用户的创意自由。 \r\n - 专家应提供客观、专业的建议,避免主观偏好影响用户决策。 \r\n ## 定义 \r\n - 数字艺术:使用数字技术创作的视觉艺术作品,如数字绘画、3D建模、数字摄影等。 \r\n - 创作助手:提供创意支持、技术指导和美学建议的角色。 \r\n ## 目标 \r\n - 帮助用户理解数字艺术创作的基本原理和技巧。 \r\n - 提供创意灵感和技术支持,促进用户的艺术创作。 \r\n - 协助用户完善作品,提升作品的艺术价值和表现力。 \r\n ## Skills \r\n 为了在限制条件下实现目标,该专家需要具备以下技能: \r\n 1. 数字艺术创作理论知识 \r\n 2. 艺术审美和创意思维 \r\n 3. 数字艺术创作软件和技术的熟练掌握 \r\n ## 音调 \r\n - 鼓励性:激励用户发挥创意,勇于尝试。 \r\n - 客观性:提供专业、客观的建议和指导。 \r\n - 支持性:在用户遇到困难时提供帮助和支持。 \r\n ## 价值观 \r\n - 尊重创意:尊重用户的艺术创作自由和个人风格。 \r\n - 追求卓越:鼓励用户追求艺术创作中的卓越和完美。 \r\n - 持续学习:倡导用户在数字艺术创作中不断学习、成长。 \r\n ## 工作流程 \r\n - 第一步:了解用户的艺术创作需求和目标。 \r\n - 第二步:提供数字艺术创作相关的理论知识和技巧。 \r\n - 第三步:根据用户的作品提供创意灵感和美学建议。 \r\n - 第四步:协助用户解决在创作过程中遇到的技术问题。 \r\n - 第五步:帮助用户完善作品,提升作品的艺术价值。 \r\n - 第六步:鼓励用户分享作品,获取反馈,持续进步。" }, { "role": "user", "content": "请给一个幻想世界观设计一辆车,在这个幻想世界观里,所有的科技都是围绕着强化植物的特性而发展的。这辆车所有的部件都是用现实中有类似功能的植物强化而来,因此这辆车的构造虽然与现实生活中的车不同,都是植物组成的,但是这些植物各自发挥的作用却能合理的让这辆车运转起来。接近生物朋克,但是更美观简洁一些。请为这辆车出一张效果图。" } ], "tools": "[undefined]", "tool_choice": "[undefined]", "stream": true, "stream_options": { "include_usage": true } } 响应首部: { "cache-control": "no-cache", "content-type": "text/event-stream", "date": "Thu, 11 Dec 2025 02:57:36 GMT", "document-policy": "include-js-call-stacks-in-crash-reports", "server": "nginx", "x-rixapi-request-id": "202512111057324489000687iLxyT6C" } 响应内容: { "error": { "message": "contents is required (request id: 202512111056245213006949fsFjxLq)", "type": "rix_api_error", "param": "", "code": "invalid_request" } } 数据: { "error": { "message": "contents is required (request id: 202512111056245213006949fsFjxLq)", "type": "rix_api_error", "param": "", "code": "invalid_request" } }

16天前

错误信息: Failed to fetch 堆栈信息: AI_ProviderSpecificError: Failed to fetch at AiSdkToChunkAdapter.convertAndEmitChunk (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:46478:64) at AiSdkToChunkAdapter.readFullStream (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:46296:10) at async AiSdkToChunkAdapter.processStream (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:46265:31) at async ModernAiProvider.modernCompletions (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:260675:22) at async ModernAiProvider._completionsOrImageGeneration (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:260596:10) at async ModernAiProvider._completionsForTrace (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:260633:19) at async ModernAiProvider.completions (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:260578:11) at async fetchChatCompletion (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:263039:2) at async transformMessagesAndFetch (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:50066:3) at async fetchAndProcessAssistantResponseImpl (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:51685:3) 错误原因: {}

16天前

Installing collected packages: tzlocal, typing-inspection, soupsieve, socksio, sniffio, six, shellingham, sentencepiece, safetensors, rpds-py, restrictedpython, regex, redis, rapidfuzz, pyyaml, pytube, pytokens, python-multipart, python-magic, python-iso639, python-dotenv, pyreadline3, pyproject_hooks, pypdf, pyparsing, pypandoc, pymysql, pyjwt, pygments, pydantic-core, pycparser, pyclipper, pybase64, pyasn1, pyarrow, psutil, protobuf, propcache, primp, platformdirs, pillow, pathspec, packaging, overrides, orjson, olefile, oauthlib, numpy, networkx, mypy-extensions, multidict, mmh3, mdurl, MarkupSafe, markdown, lxml, jsonpointer, joblib, jmespath, jiter, itsdangerous, isodate, importlib-resources, importlib-metadata, idna, hyperframe, httpx-sse, httptools, hpack, h11, grpcio, greenlet, google-crc32c, ftfy, fsspec, frozenlist, fonttools, filelock, fake-useragent, et-xmlfile, emoji, einops, docstring-parser, distro, defusedxml, colorama, charset_normalizer, chardet, certifi, cachetools, bidict, bcrypt, backoff, av, attrs, async-timeout, asgiref, annotated-types, annotated-doc, aiohappyeyeballs, aiofiles, yarl, wsproto, typing-inspect, tqdm, sqlalchemy, Shapely, scipy, rsa, requests, referencing, rank-bm25, python-pptx, python-dateutil, pymdown-extensions, pydantic, pyasn1-modules, proto-plus, opentelemetry-proto, opentelemetry-api, openpyxl, opencv-python-headless, opencv-python, marshmallow, markdown-it-py, Mako, loguru, ldap3, langdetect, jsonpatch, jinja2, humanfriendly, httplib2, httpcore, html5lib, h2, googleapis-common-protos, google-resumable-media, fpdf2, ecdsa, ctranslate2, click, cffi, build, beautifulsoup4, apscheduler, anyio, aiosignal, youtube-transcript-api, watchfiles, uvicorn, torch, tiktoken, starlette, sse-starlette, soundfile, simple-websocket, scikit-learn, rich, requests-toolbelt, requests-oauthlib, python-oxmsg, python-jose, pydantic-settings, pycrdt, posthog, peewee-migrate, pandas, opentelemetry-semantic-conventions, opentelemetry-exporter-otlp-proto-common, opensearch-py, nltk, jsonschema-specifications, huggingface-hub, httpx, grpcio-status, google-auth, dataclasses-json, cryptography, coloredlogs, botocore, black, azure-core, argon2-cffi-bindings, alembic, aiohttp, unstructured-client, typer, tokenizers, starsessions, starlette-compress, s3transfer, python-engineio, opentelemetry-sdk, openai, onnxruntime, msoffcrypto-tool, langsmith, kubernetes, jsonschema, google-genai, google-auth-oauthlib, google-auth-httplib2, google-api-core, fastapi, azure-storage-blob, azure-ai-documentintelligence, authlib, argon2-cffi, anthropic, accelerate, unstructured, transformers, rapidocr-onnxruntime, python-socketio, opentelemetry-exporter-otlp-proto-grpc, msal, mcp, langchain-core, google-cloud-core, google-api-python-client, faster-whisper, ddgs, boto3, sentence-transformers, msal-extensions, langchain-text-splitters, google-cloud-storage, google-ai-generativelanguage, chromadb, langchain, google-generativeai, azure-identity, langchain-community, open-webui

16天前

Ignored the following versions that require a different python version: 0.1.124 Requires-Python >=3.11,<3.12.0a1; 0.1.125 Requires-Python >=3.11,<3.12.0a1; 0.2.0 Requires-Python >=3.11,<3.12.0a1; 0.2.1 Requires-Python >=3.11,<3.12.0a1; 0.2.2 Requires-Python >=3.11,<3.12.0a1; 0.2.3 Requires-Python >=3.11,<3.12.0a1; 0.2.4 Requires-Python >=3.11,<3.12.0a1; 0.2.5 Requires-Python >=3.11,<3.12.0a1; 0.3.0 Requires-Python >=3.11,<3.12.0a1; 0.3.1 Requires-Python >=3.11,<3.12.0a1; 0.3.10 Requires-Python >=3.11,<3.12.0a1; 0.3.12 Requires-Python >=3.11,<3.12.0a1; 0.3.13 Requires-Python >=3.11,<3.12.0a1; 0.3.14 Requires-Python >=3.11,<3.12.0a1; 0.3.15 Requires-Python >=3.11,<3.12.0a1; 0.3.16 Requires-Python >=3.11,<3.12.0a1; 0.3.17 Requires-Python >=3.11,<3.12.0a1; 0.3.17.dev2 Requires-Python >=3.11,<3.12.0a1; 0.3.17.dev3 Requires-Python >=3.11,<3.12.0a1; 0.3.17.dev4 Requires-Python >=3.11,<3.12.0a1; 0.3.17.dev5 Requires-Python >=3.11,<3.12.0a1; 0.3.18 Requires-Python >=3.11,<3.12.0a1; 0.3.19 Requires-Python >=3.11,<3.12.0a1; 0.3.2 Requires-Python >=3.11,<3.12.0a1; 0.3.20 Requires-Python >=3.11,<3.12.0a1; 0.3.21 Requires-Python >=3.11,<3.12.0a1; 0.3.22 Requires-Python >=3.11,<3.12.0a1; 0.3.23 Requires-Python >=3.11,<3.12.0a1; 0.3.24 Requires-Python >=3.11,<3.12.0a1; 0.3.25 Requires-Python >=3.11,<3.12.0a1; 0.3.26 Requires-Python >=3.11,<3.12.0a1; 0.3.27 Requires-Python >=3.11,<3.12.0a1; 0.3.27.dev1 Requires-Python >=3.11,<3.12.0a1; 0.3.27.dev2 Requires-Python >=3.11,<3.12.0a1; 0.3.27.dev3 Requires-Python >=3.11,<3.12.0a1; 0.3.28 Requires-Python >=3.11,<3.12.0a1; 0.3.29 Requires-Python >=3.11,<3.12.0a1; 0.3.3 Requires-Python >=3.11,<3.12.0a1; 0.3.30 Requires-Python >=3.11,<3.12.0a1; 0.3.30.dev1 Requires-Python >=3.11,<3.12.0a1; 0.3.30.dev2 Requires-Python >=3.11,<3.12.0a1; 0.3.31 Requires-Python >=3.11,<3.12.0a1; 0.3.31.dev1 Requires-Python >=3.11,<3.12.0a1; 0.3.32 Requires-Python >=3.11,<3.12.0a1; 0.3.33 Requires-Python >=3.11,<3.12.0a1; 0.3.33.dev1 Requires-Python >=3.11,<3.12.0a1; 0.3.34 Requires-Python >=3.11,<3.12.0a1; 0.3.35 Requires-Python >=3.11,<3.12.0a1; 0.3.4 Requires-Python >=3.11,<3.12.0a1; 0.3.5 Requires-Python >=3.11,<3.12.0a1; 0.3.6 Requires-Python >=3.11,<3.12.0a1; 0.3.7 Requires-Python >=3.11,<3.12.0a1; 0.3.8 Requires-Python >=3.11,<3.12.0a1; 0.3.9 Requires-Python >=3.11,<3.12.0a1; 0.4.0 Requires-Python >=3.11,<3.12.0a1; 0.4.0.dev1 Requires-Python >=3.11,<3.12.0a1; 0.4.0.dev2 Requires-Python >=3.11,<3.12.0a1; 0.4.1 Requires-Python >=3.11,<3.12.0a1; 0.4.2 Requires-Python >=3.11,<3.12.0a1; 0.4.3 Requires-Python >=3.11,<3.12.0a1; 0.4.4 Requires-Python >=3.11,<3.12.0a1; 0.4.5 Requires-Python >=3.11,<3.12.0a1; 0.4.6 Requires-Python >=3.11,<3.12.0a1; 0.4.6.dev1 Requires-Python >=3.11,<3.12.0a1; 0.4.7 Requires-Python >=3.11,<3.12.0a1; 0.4.8 Requires-Python >=3.11,<3.12.0a1; 0.5.0 Requires-Python >=3.11,<3.13.0a1; 0.5.0.dev1 Requires-Python >=3.11,<3.13.0a1; 0.5.0.dev2 Requires-Python >=3.11,<3.13.0a1; 0.5.1 Requires-Python >=3.11,<3.13.0a1; 0.5.10 Requires-Python >=3.11,<3.13.0a1; 0.5.11 Requires-Python >=3.11,<3.13.0a1; 0.5.12 Requires-Python >=3.11,<3.13.0a1; 0.5.13 Requires-Python >=3.11,<3.13.0a1; 0.5.14 Requires-Python >=3.11,<3.13.0a1; 0.5.15 Requires-Python >=3.11,<3.13.0a1; 0.5.16 Requires-Python >=3.11,<3.13.0a1; 0.5.17 Requires-Python >=3.11,<3.13.0a1; 0.5.18 Requires-Python >=3.11,<3.13.0a1; 0.5.19 Requires-Python >=3.11,<3.13.0a1; 0.5.2 Requires-Python >=3.11,<3.13.0a1; 0.5.20 Requires-Python >=3.11,<3.13.0a1; 0.5.3 Requires-Python >=3.11,<3.13.0a1; 0.5.3.dev1 Requires-Python >=3.11,<3.13.0a1; 0.5.4 Requires-Python >=3.11,<3.13.0a1; 0.5.5 Requires-Python >=3.11,<3.13.0a1; 0.5.6 Requires-Python >=3.11,<3.13.0a1; 0.5.7 Requires-Python >=3.11,<3.13.0a1; 0.5.8 Requires-Python >=3.11,<3.13.0a1; 0.5.9 Requires-Python >=3.11,<3.13.0a1; 0.6.0 Requires-Python >=3.11,<3.13.0a1; 0.6.1 Requires-Python >=3.11,<3.13.0a1; 0.6.10 Requires-Python >=3.11,<3.13.0a1; 0.6.11 Requires-Python >=3.11,<3.13.0a1; 0.6.12 Requires-Python >=3.11,<3.13.0a1; 0.6.13 Requires-Python >=3.11,<3.13.0a1; 0.6.14 Requires-Python >=3.11,<3.13.0a1; 0.6.15 Requires-Python >=3.11,<3.13.0a1; 0.6.16 Requires-Python >=3.11,<3.13.0a1; 0.6.18 Requires-Python >=3.11,<3.13.0a1; 0.6.19 Requires-Python >=3.11,<3.13.0a1; 0.6.2 Requires-Python >=3.11,<3.13.0a1; 0.6.20 Requires-Python >=3.11,<3.13.0a1; 0.6.21 Requires-Python >=3.11,<3.13.0a1; 0.6.22 Requires-Python >=3.11,<3.13.0a1; 0.6.23 Requires-Python >=3.11,<3.13.0a1; 0.6.24 Requires-Python >=3.11,<3.13.0a1; 0.6.25 Requires-Python >=3.11,<3.13.0a1; 0.6.26 Requires-Python >=3.11,<3.13.0a1; 0.6.26.dev1 Requires-Python >=3.11,<3.13.0a1; 0.6.27 Requires-Python >=3.11,<3.13.0a1; 0.6.28 Requires-Python >=3.11,<3.13.0a1; 0.6.29 Requires-Python >=3.11,<3.13.0a1; 0.6.3 Requires-Python >=3.11,<3.13.0a1; 0.6.30 Requires-Python >=3.11,<3.13.0a1; 0.6.31 Requires-Python >=3.11,<3.13.0a1; 0.6.32 Requires-Python >=3.11,<3.13.0a1; 0.6.33 Requires-Python >=3.11,<3.13.0a1; 0.6.34 Requires-Python >=3.11,<3.13.0a1; 0.6.35 Requires-Python >=3.11,<3.13.0a1; 0.6.36 Requires-Python >=3.11,<3.13.0a1; 0.6.37 Requires-Python >=3.11,<3.13.0a1; 0.6.38 Requires-Python >=3.11,<3.13.0a1; 0.6.39 Requires-Python >=3.11,<3.13.0a1; 0.6.4 Requires-Python >=3.11,<3.13.0a1; 0.6.40 Requires-Python >=3.11,<3.13.0a1; 0.6.41 Requires-Python >=3.11,<3.13.0a1; 0.6.5 Requires-Python >=3.11,<3.13.0a1; 0.6.6 Requires-Python >=3.11,<3.13.0a1; 0.6.6.dev1 Requires-Python >=3.11,<3.13.0a1; 0.6.7 Requires-Python >=3.11,<3.13.0a1; 0.6.8 Requires-Python >=3.11,<3.13.0a1; 0.6.9 Requires-Python >=3.11,<3.13.0a1 ERROR: Could not find a version that satisfies the requirement open-webui (from versions: none) ERROR: No matching distribution found for open-webui

17天前

错误信息: Failed to fetch 堆栈信息: AI_ProviderSpecificError: Failed to fetch at AiSdkToChunkAdapter.convertAndEmitChunk (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:46478:64) at AiSdkToChunkAdapter.readFullStream (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:46296:10) at async AiSdkToChunkAdapter.processStream (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:46265:31) at async ModernAiProvider.modernCompletions (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:260675:22) at async ModernAiProvider._completionsOrImageGeneration (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:260596:10) at async ModernAiProvider._completionsForTrace (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:260633:19) at async ModernAiProvider.completions (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:260578:11) at async fetchChatCompletion (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:263039:2) at async transformMessagesAndFetch (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:50066:3) at async fetchAndProcessAssistantResponseImpl (file:///C:/Program%20Files/Cherry%20Studio/resources/app.asar/out/renderer/assets/store-Dy89cVhB.js:51685:3) 错误原因: {}

17天前

The response was filtered due to the prompt triggering Azure OpenAI's content management policy. Please modify your prompt and retry.The response was filtered due to the prompt triggering Azure OpenAI's content management policy. Please modify your prompt and retry. To learn more about our content filtering policies please read our documentation: https://***.com/***?linkid=*** To learn more about our content filtering policies please read our documentation: https://***.com/***?linkid=***

17天前