> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/action-management/event-notifications-and-postbacks/test-and-troubleshoot-a-postback-url.md). Agents can also search and read this documentation through its [MCP server](https://help.impact.com/~gitbook/mcp).

# 测试并排查回传 URL

在生产环境中依赖回传 URL 之前，您可以先对其进行测试。这有助于确认您的端点能够接受请求，并更快地排查投递问题。

## 测试回传 URL

{% hint style="success" %}
**注意：** 测试时，我们建议暂时修改回传 URL，传入一个硬编码的测试值（例如，使用 "12345678"，而不是 `{SubId1}`），以避免错误。如果您的服务器接受了提交，您就可以放心地将回传 URL 恢复为使用该变量。
{% endhint %}

1. 在顶部导航栏中，选择 **发现** → [**品牌**](https://app.impact.com/secure/mediapartner/marketplace/new-campaign-marketplace-flow.ihtml).
2. 根据您使用的视图继续操作：
   * 对于 ![](https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-1ed93f8f13c8544365c2e0766182519259e358d1%2F32cae165a86a348b171c1152a3c352a24ed3471cf88e03ca183b9015ee8f970b.svg?alt=media) **\[网格视图]**，选择您要测试回传的品牌，然后选择 ![](https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-8ec3e877b1397045c61d394485e72ac4d93120ee%2Fc6ddb46c637059f06e86c790a911217a9428f5c47b5efef046f90555e85b03cd.svg?alt=media) **\[更多] → 跟踪集成**.
   * 对于 ![](https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-b3ee5769241ce1575e4aff7d716b98c9937267eb%2F845c18aa59443d6b239132358fa67d4ae4df3cf4399ec037b8348bfa2e88c1bc.svg?alt=media) **\[列表视图]**，将鼠标悬停在您要测试回传的品牌上，然后选择 ![](https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-8ec3e877b1397045c61d394485e72ac4d93120ee%2Fc6ddb46c637059f06e86c790a911217a9428f5c47b5efef046f90555e85b03cd.svg?alt=media) **\[更多]** → **跟踪集成**.
3. 在 *回传* 部分中，找到您要测试的回传 URL，然后选择 ![](https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-df93ac0f80fc5cece7983980a5ce3fbcf19aabce%2F3ef9d737089bc07dbb7e4fd41a97edfbaec261e4f55ab3a1666f3daf957f69c3.svg?alt=media) **\[操作] → 测试**.
4. 填写您要测试的 URL，然后选择 **开始测试**.

   <div data-with-frame="true"><figure><img src="https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-0c6431bd94b91ecd69409fb490bbd3d8f0937a74%2F70383df0310e63a8b1b9b8167325edc6c15af33a82fb5dd31b81f76b37afbfa3.png?alt=media" alt=""><figcaption></figcaption></figure></div>

## 了解重试行为

如果 impact.com 向您的目标 URL 发送回传时失败，impact.com 会自动重试投递。这有助于应对临时网络问题或服务器短暂不可用的情况。

impact.com 对失败的回传最多总共重试 15 次。

在以下情况下，impact.com 不会重试回传：

* 目标 URL 格式错误或无效。
* 目标 URL 或其主机名无法解析，例如 DNS 查找失败时。

对于来自 `400` 到 `500`.

| 重试次数     | 重试前的延迟时间 |
| -------- | -------- |
| 第 1 次重试  | +15 秒    |
| 第 2 次重试  | +15 秒    |
| 第 3 次重试  | +15 秒    |
| 第 4 次重试  | +3 分钟    |
| 第 5 次重试  | +3 分钟    |
| 第 6 次重试  | +15 分钟   |
| 第 7 次重试  | +15 分钟   |
| 第 8 次重试  | +15 分钟   |
| 第 9 次重试  | +2 小时    |
| 第 10 次重试 | +2 小时    |
| 第 11 次重试 | +2 小时    |
| 第 12 次重试 | +6 小时    |
| 重试 13    | +6 小时    |
| 重试 14    | +6 小时    |
| 重试 15    | +6 小时    |

### 排查错误

<table><thead><tr><th width="199.5703125">错误</th><th>说明</th></tr></thead><tbody><tr><td>缺少必需参数</td><td>您的服务器可能需要的是具体值，而不是变量。请修改回传 URL，传入一个测试值（例如，使用 "12345678" 而不是 <code>{SubId1}</code>），然后检查服务器是否接受这个硬编码值。</td></tr><tr><td>区分大小写的变量</td><td>动态变量区分大小写，必须完全匹配，这意味着 <code>{SubId1}</code> 与 <code>{subid1}</code>并不相同。请仔细检查变量的大小写是否正确。</td></tr><tr><td>访问被拒绝</td><td>大多数回传服务器都需要随动态变量一同传递安全令牌或安全值。请联系网站技术团队（或参阅网站提供商的文档），了解访问服务器所需的令牌或安全值。</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.impact.com/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/action-management/event-notifications-and-postbacks/test-and-troubleshoot-a-postback-url.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
