[Guide / 指南] 签名报错与请求异常排查手段 | Diagnostic Guide for Signature & Request Errors
Author: jeiklCreated Sep 29, 2026Updated Sep 29, 2026
️ 签名报错与请求异常诊断指南 / Guide: Diagnosing Signature & Request Errors
[!TIP] ** 说明**:如果你在使用过程中遇到签名报错、多模态嵌入异常或上下文错位等问题,请按本指南利用 AI 助手快速排查本地报文,并生成诊断报告提交 Issue,协助快速定位解决。
** Overview**: If you encounter signature errors, multimodal issues, or context misalignment, follow this guide to analyze local payloads using an AI assistant and submit a diagnostic report to help us resolve the issue quickly.
报文与日志定位参考 / Reference Screenshots
排查四步法 / 4-Step Diagnosis Workflow
- 定位数据目录 / Locate Storage: 找到本地数据存储目录(例如
F:\antigravitytools或自定义日志路径)。
Open your local storage directory (e.g.,F:\antigravitytoolsor your custom log path). - 复制请求信息 / Copy Request Info: 记录报错请求的
requestId、sessionId和model。
Copy the failedrequestId,sessionId, andmodelfrom your logs or console. - AI 辅助分析 / Run AI Diagnosis: 将下方的 【AI 排查提示词】 发送给任意 AI 编程助手(Claude / ChatGPT / Cursor / Codex 等)进行结构化对比分析。
Pass the AI Diagnostic Prompt below to any AI tool (Claude, ChatGPT, Cursor, Codex, etc.) to analyze the payload. - 提交反馈 / Submit Issue: 将 AI 输出的排查分析结论粘贴到 Issue 中。
Paste the generated report into a GitHub Issue for quick inspection.
AI 排查专用提示词 / AI Diagnostic Prompt (CN & EN)
[!NOTE] 点击代码框右上角一键复制完整提示词(使用时请根据实际情况替换本地路径与 JSON):
Click top-right to copy the prompt (replace the local path and JSON payload with your actual data):
==================================================
中文版提示词 (Chinese Prompt)
==================================================
请帮我进入目录:“F:\antigravitytools”(请根据实际本地路径修改)分析以下问题请求 ID 的报文,看看它和正常请求有什么区别、为何报错。
【重点排查方向】
1. 签名校验:是否存在签名错位、签名截断或签名缺失?
2. 签名污染:Gemini 家族与 Claude 家族签名是否存在相互污染?
3. 多模态结构:图片/文件等多模态嵌入格式是否正常?
4. 交互轮次:模型的历史交互轮次(turns/history)与角色(role)对齐是否正常?
5. 对比分析:对比该报错请求与同模型正常请求的报文差异,输出结构化排查结论。
【问题请求信息】
{
"requestId": "agent/axxxx/1790xxxx10/cc36a4c7/1",
"sessionId": "7Xxxxx",
"model": "gemini-3.7-flash-high"
}
注:如果有需要做对照实验,请告知我需要提供哪些参数。
==================================================
English Prompt
==================================================
Please inspect the request payload in directory: "F:\antigravitytools" (please replace with your actual local path) for the following request ID, compare it with normal requests, and analyze why it failed.
[Key Inspection Checklist]
1. Signature Validation: Is the signature displaced, truncated, or missing?
2. Signature Contamination: Is there any cross-pollution between Gemini and Claude family signatures?
3. Multimodal Structure: Is the embedding format of multimodal contents (images, audio, files) valid?
4. Conversation Turns: Are the conversation history turns and role alignments (user/assistant) structured properly?
5. Diff Analysis: Compare the failed request against normal requests of the same model and provide a structured diagnosis report.
[Request Metadata]
{
"requestId": "agent/axxxx/1790xxxx10/cc36a4c7/1",
"sessionId": "7Xxxxx",
"model": "gemini-3.7-flash-high"
}
Note: Let me know if comparative testing is required and what additional parameters or data you need.Source: lbjlaq/Antigravity-Manager