> For the complete documentation index, see [llms.txt](https://app.developers.karte.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://app.developers.karte.io/app-faq/app-faq-support-for-resending.md).

# 送信できなかったイベントは再送（リトライ）されますか？

再送機能は KARTE SDK のv2以降に実装されています。

## 再送（リトライ）されるイベント

`_fetch_variables` イベント以外のイベントは再送される仕様です。\
再送されたイベントには `_retry` フィールドが追加され、値が `true` となります。

{% hint style="info" %}
**\_fetch\_variablesイベントとは**

設定値配信機能による設定値の取得時に発生するイベントです。\
fetchメソッドを呼び出すと内部的に `_fetch_variables` イベントが発行されます。
{% endhint %}

## 再送が行われる条件

以下の条件に合致する場合に再送が行われます。

* ネットワークに問題があり送信できなかった場合（オフライン等）
* KARTEのサーバーが5xxエラーを返した場合

なお再送ができない状態でアプリケーションのプロセスが終了した場合は、次回起動時に再送が行われます。\
イベントの再送期限は1ヶ月です。\
再送キューに入った状態で1ヶ月以上経過したイベントに関しては再送は行われません。

## その他の制限

再送により送信されたイベントの場合は、アプリ内メッセージの表示が行われません。\
これは意図しないタイミングでアプリ内メッセージの表示を防ぐためです。


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://app.developers.karte.io/app-faq/app-faq-support-for-resending.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
