Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(sdk): correct the 409, score, timeout and event name statements
Yudhi Armyndharis84e87193c1d9
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 9d220646c..de83c4fb7 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -20,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- Expose caller-supplied send idempotency keys in all five SDKs from the next SDK release after 0.5.1; the 0.5.1 JavaScript and PHP packages ignore the extra argument.- Add optional 24-hour idempotency keys to twelve single-recipient send routes.- Add opt-in archive-only chat media with dashboard previews.-- Report RSVPs to WhatsApp events as an `event.response` webhook and WebSocket event on Baileys (#1788, thanks @jelasus).+- Report RSVPs to WhatsApp events as an `event.response` webhook and WebSocket event on Baileys; the JavaScript, Python, Go and Java SDKs list the event name from the next SDK release after 0.5.1 (#1788, thanks @jelasus).### Changeddiff --git a/docs/18-sdk-design.md b/docs/18-sdk-design.mdindex e999c0487..3a2fabbe5 100644--- a/docs/18-sdk-design.md+++ b/docs/18-sdk-design.md@@ -1,6 +1,6 @@# 18 - SDK Design-> This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, and last-message types are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.+> This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.## 18.1 Overview@@ -392,7 +392,7 @@ try {});} catch (err) {if (err instanceof OpenWAConflictError) {- // 409 — engine not ready; start the session first.+ // 409: the session is not ready (start it first), or a keyed send is pending or unconfirmed.} else if (err instanceof OpenWANotFoundError) {// 404 — session/chat does not exist.} else if (err instanceof OpenWARateLimitError) {@@ -485,7 +485,7 @@ OpenWAClient(base_url: str,api_key: str,*,- timeout: float = 30.0,+ timeout: float | None = 30.0,default_headers: Mapping[str, str] | None = None,transport: httpx.BaseTransport | None = None,)@@ -495,7 +495,7 @@ OpenWAClient(| ----------------- | ----------------------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------- || `base_url` | `str` | _(required)_ | Gateway base URL, e.g. `http://localhost:2785`. Raises `ValueError` if empty. A trailing `/` is stripped; any path prefix is preserved. || `api_key` | `str` | _(required)_ | API key sent as the `X-API-Key` header. Raises `ValueError` if empty. |-| `timeout` | `float` | `30.0` | Per-request timeout in seconds. A breach raises `OpenWATimeoutError`. |+| `timeout` | `float \| None` | `30.0` | Seconds per network operation, not per call; `0` or `None` turns it off. A breach raises `OpenWATimeoutError`. || `default_headers` | `Mapping[str, str] \| None` | `None` | Extra headers applied to every request. Applied **first**, so the SDK's `X-API-Key` and `Content-Type: application/json` always win. || `transport` | `httpx.BaseTransport \| None` | `None` | Optional `httpx` transport override (e.g. `httpx.MockTransport`) sharing the one connection pool. Useful for testing. |@@ -744,7 +744,7 @@ Every error inherits from `OpenWAError`. A non-2xx response raises an `OpenWAApi| `OpenWAAuthError` | HTTP `401` — missing or invalid API key || `OpenWAForbiddenError` | HTTP `403` — the key's role or scope (session, IP or chat allow-list) refuses the call, or WhatsApp itself refused the operation (for example, missing group admin rights) || `OpenWANotFoundError` | HTTP `404` — resource not found |-| `OpenWAConflictError` | HTTP `409` — typically engine-not-ready |+| `OpenWAConflictError` | HTTP `409`: session not ready, or a keyed send pending or unconfirmed || `OpenWARateLimitError` | HTTP `429` — too many requests. The global rate limiter's 429 lifts when its window expires (seconds for the per-second tier, up to an hour for the hourly tier by default), and `retry_after_seconds` carries its `Retry-After` header. A 429 whose `code` is `"SEND_PACING_LIMITED"` is usually not transient: do not retry it before `retry_after_seconds`, which then comes from the body: a few seconds when only sends still in flight caused it, the rest of the failure breaker's cooldown (`SEND_PACING_BREAKER_COOLDOWN_MS`, 15 minutes by default) after a run of send failures, otherwise up to the next UTC day. || `OpenWANotImplementedError` | HTTP `501` — active engine doesn't support the operation || `OpenWAServiceUnavailableError` | HTTP `503` — engine did not confirm in time; transient, though a catalog 503 can persist because WhatsApp may never answer that query. In a routed deployment a forward that fails before reaching the owner node answers 503, and a 503 from the owner itself is relayed unchanged (a bounded write it covers may still have been applied); a forward that fails after the request was sent answers 502 or 504, which the owner may already have acted on |@@ -1099,7 +1099,7 @@ All exceptions live in `OpenWA\Exceptions` and descend from `OpenWAException` (w| `OpenWAAuthException` | `OpenWAApiException` | `401` — missing/invalid API key. || `OpenWAForbiddenException` | `OpenWAApiException` | `403` — the key's role or scope refuses the call (e.g. operator-only endpoint, or a session, IP or chat outside its allow-lists), or WhatsApp itself refused the operation (for example, missing group admin rights). || `OpenWANotFoundException` | `OpenWAApiException` | `404` — resource not found. |-| `OpenWAConflictException` | `OpenWAApiException` | `409` — conflict (e.g. engine not ready). |+| `OpenWAConflictException` | `OpenWAApiException` | `409`: session not ready, or a keyed send pending or unconfirmed. || `OpenWARateLimitException` | `OpenWAApiException` | `429` — rate limited. The global rate limiter's 429 lifts when its window expires (seconds for the per-second tier, up to an hour for the hourly tier by default), and `getRetryAfterSeconds()` carries its `Retry-After` header. A 429 whose `getErrorCode()` is `"SEND_PACING_LIMITED"` is usually not transient: do not retry it before `getRetryAfterSeconds()`, which then comes from the body: a few seconds when only sends still in flight caused it, the rest of the failure breaker's cooldown (`SEND_PACING_BREAKER_COOLDOWN_MS`, 15 minutes by default) after a run of send failures, otherwise up to the next UTC day. || `OpenWANotImplementedException` | `OpenWAApiException` | `501` — active engine does not support the operation. || `OpenWAServiceUnavailableException` | `OpenWAApiException` | `503` — engine did not confirm in time; transient, though a catalog 503 can persist because WhatsApp may never answer that query. In a routed deployment a forward that fails before reaching the owner node answers 503, and a 503 from the owner itself is relayed unchanged (a bounded write it covers may still have been applied); a forward that fails after the request was sent answers 502 or 504, which the owner may already have acted on. |@@ -1119,7 +1119,7 @@ try {'text' => 'Hello!',]);} catch (OpenWAConflictException $e) {- // 409 — engine not ready yet+ // 409: the session is not ready yet, or a keyed send is pending or unconfirmed} catch (OpenWARateLimitException $e) {// 429 — back off and retry yourself (no auto-retry)} catch (OpenWATimeoutException $e) {diff --git a/sdk/README.md b/sdk/README.mdindex bb5a7b4d5..c3662a2c8 100644--- a/sdk/README.md+++ b/sdk/README.md@@ -1,6 +1,6 @@# OpenWA SDKs-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, and last-message types are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.+This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.Official client libraries for [OpenWA](https://github.com/rmyndharis/OpenWA), theopen-source WhatsApp API Gateway. OpenWA is an independent project, not@@ -105,7 +105,7 @@ try {await client.messages.sendText(/* … */);} catch (e) {if (e instanceof OpenWAConflictError) {- /* engine not ready (409) */+ /* session not ready, or a keyed send pending or unconfirmed (409) */}}```@@ -274,9 +274,11 @@ testing, retry, tracing, or metrics. See [`go/README.md`](go/README.md).`WebhookDelivery`.- **Redirects are never followed.** A `3xx` surfaces to the caller rather thanbeing followed, so the API key is never re-sent to a redirect target.-- **Default per-request timeout** is 30s (configurable). Path segments (chat /- message ids) are percent-encoded; a base-URL path prefix (e.g. behind a proxy- at `/v1`) is preserved.+- **Default timeout** is 30s (configurable; `0` turns it off). The JavaScript and PHP+ clients bound the whole call. The Python client's is per network operation+ (connect, read, write, pool), so a response that keeps trickling bytes is not+ cut off. Path segments (chat / message ids) are percent-encoded; a base-URL path+ prefix (e.g. behind a proxy at `/v1`) is preserved.## Developmentdiff --git a/sdk/go/README.md b/sdk/go/README.mdindex 5b3b99b5c..fe985623c 100644--- a/sdk/go/README.md+++ b/sdk/go/README.md@@ -1,6 +1,6 @@# OpenWA Go SDK-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, and last-message types are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.+This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.Idiomatic Go client for the [OpenWA](https://github.com/rmyndharis/OpenWA) WhatsAppAPI Gateway. Stdlib-only (no dependencies), context-first, with typed errors and@@ -288,4 +288,4 @@ ctx := openwa.WithIdempotencyKey(context.Background(), "order-123")_, err := client.Messages.SendText(ctx, sessionID, openwa.SendTextRequest{ChatID: "[email protected]", Text: "Hello"})```-The gateway supports text, image, video, audio, document, sticker, location, contact, template, poll, reply and forward sends. Completed calls replay their response; a 409 with the error `code` `IDEMPOTENCY_KEY_IN_PROGRESS` means the first request is still running, so retry with the same key later; a 409 `IDEMPOTENCY_OUTCOME_UNKNOWN` means the message may have been sent, so check the chat and, if it did not arrive, send again with a new key (the `code` tells them apart from the engine-not-ready 409). A changed request with the same key returns 422. The gateway retains keys for 24 hours. Bulk, product and button operations have no such guarantee. Omit the key to preserve existing behavior.+The gateway supports text, image, video, audio, document, sticker, location, contact, template, poll, reply and forward sends. Completed calls replay their response; a 409 with the error `code` `IDEMPOTENCY_KEY_IN_PROGRESS` means the first request is still running, so retry with the same key later; a 409 `IDEMPOTENCY_OUTCOME_UNKNOWN` means the message may have been sent, so check the chat and, if it did not arrive, send again with a new key (the `code` tells them apart from the 409 for a session that is not connected). A changed request with the same key returns 422. The gateway retains keys for 24 hours. Bulk, product and button operations have no such guarantee. Omit the key to preserve existing behavior.diff --git a/sdk/go/errors.go b/sdk/go/errors.goindex 253707b86..dfab85780 100644--- a/sdk/go/errors.go+++ b/sdk/go/errors.go@@ -29,7 +29,8 @@ var (ErrForbidden = errors.New("openwa: forbidden")// ErrNotFound is returned for a 404.ErrNotFound = errors.New("openwa: not found")- // ErrConflict is returned for a 409 (typically an engine-not-ready condition).+ // ErrConflict is returned for a 409: the session is not ready for the operation, or a keyed send is+ // pending or may already have been sent (see the error code).ErrConflict = errors.New("openwa: conflict")// ErrRateLimited is returned for a 429 (too many requests). The global rate// limiter's 429 lifts when its window expires (seconds for the per-seconddiff --git a/sdk/java/README.md b/sdk/java/README.mdindex ce6958501..9b61ed549 100644--- a/sdk/java/README.md+++ b/sdk/java/README.md@@ -1,6 +1,6 @@# OpenWA Java SDK-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, and last-message types are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.+This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.Official Java client for [OpenWA](https://github.com/rmyndharis/OpenWA), theopen-source WhatsApp API Gateway. OpenWA is an independent project, not@@ -229,4 +229,4 @@ Supply a unique caller-owned key for one logical send and reuse it when retryingclient.messages.sendText(sessionId, new SendTextRequest("[email protected]", "Hello"), "order-123");```-The gateway supports text, image, video, audio, document, sticker, location, contact, template, poll, reply and forward sends. Completed calls replay their response; a 409 with the error `code` `IDEMPOTENCY_KEY_IN_PROGRESS` means the first request is still running, so retry with the same key later; a 409 `IDEMPOTENCY_OUTCOME_UNKNOWN` means the message may have been sent, so check the chat and, if it did not arrive, send again with a new key (the `code` tells them apart from the engine-not-ready 409). A changed request with the same key returns 422. The gateway retains keys for 24 hours. Bulk, product and button operations have no such guarantee. Omit the key to preserve existing behavior.+The gateway supports text, image, video, audio, document, sticker, location, contact, template, poll, reply and forward sends. Completed calls replay their response; a 409 with the error `code` `IDEMPOTENCY_KEY_IN_PROGRESS` means the first request is still running, so retry with the same key later; a 409 `IDEMPOTENCY_OUTCOME_UNKNOWN` means the message may have been sent, so check the chat and, if it did not arrive, send again with a new key (the `code` tells them apart from the 409 for a session that is not connected). A changed request with the same key returns 422. The gateway retains keys for 24 hours. Bulk, product and button operations have no such guarantee. Omit the key to preserve existing behavior.diff --git a/sdk/java/src/main/java/com/rmyndharis/openwa/errors/OpenWAConflictError.java b/sdk/java/src/main/java/com/rmyndharis/openwa/errors/OpenWAConflictError.javaindex 4fe5d7f5b..8087ce7a7 100644--- a/sdk/java/src/main/java/com/rmyndharis/openwa/errors/OpenWAConflictError.java+++ b/sdk/java/src/main/java/com/rmyndharis/openwa/errors/OpenWAConflictError.java@@ -3,7 +3,7 @@ package com.rmyndharis.openwa.errors;import java.util.List;import java.util.Map;-/** 409 Conflict — typically an engine-not-ready condition from the backend. */+/** 409 Conflict: the session is not ready for the operation, or a keyed send is pending or may already have been sent (see {@code code()}). */public class OpenWAConflictError extends OpenWAApiError {public OpenWAConflictError(String message, int status, Object body, String errorKind) {super(message, status, body, errorKind);diff --git a/sdk/javascript/README.md b/sdk/javascript/README.mdindex 02131b8e3..f0249e642 100644--- a/sdk/javascript/README.md+++ b/sdk/javascript/README.md@@ -1,6 +1,6 @@# @rmyndharis/openwa-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, and last-message types are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.+This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.Official JavaScript/TypeScript SDK for [OpenWA](https://github.com/rmyndharis/OpenWA), the open-source WhatsApp API Gateway. OpenWA is an independent project, not affiliated with or endorsed by WhatsApp or Meta.@@ -140,4 +140,4 @@ Supply a unique caller-owned key for one logical send and reuse it when retryingawait client.messages.sendText(sessionId, { chatId: '[email protected]', text: 'Hello' }, 'order-123');```-The gateway supports text, image, video, audio, document, sticker, location, contact, template, poll, reply and forward sends. Completed calls replay their response; a 409 with the error `code` `IDEMPOTENCY_KEY_IN_PROGRESS` means the first request is still running, so retry with the same key later; a 409 `IDEMPOTENCY_OUTCOME_UNKNOWN` means the message may have been sent, so check the chat and, if it did not arrive, send again with a new key (the `code` tells them apart from the engine-not-ready 409). A changed request with the same key returns 422. The gateway retains keys for 24 hours. Bulk, product and button operations have no such guarantee. Omit the key to preserve existing behavior.+The gateway supports text, image, video, audio, document, sticker, location, contact, template, poll, reply and forward sends. Completed calls replay their response; a 409 with the error `code` `IDEMPOTENCY_KEY_IN_PROGRESS` means the first request is still running, so retry with the same key later; a 409 `IDEMPOTENCY_OUTCOME_UNKNOWN` means the message may have been sent, so check the chat and, if it did not arrive, send again with a new key (the `code` tells them apart from the 409 for a session that is not connected). A changed request with the same key returns 422. The gateway retains keys for 24 hours. Bulk, product and button operations have no such guarantee. Omit the key to preserve existing behavior.diff --git a/sdk/javascript/src/errors.ts b/sdk/javascript/src/errors.tsindex 0b1645aaf..dcf736374 100644--- a/sdk/javascript/src/errors.ts+++ b/sdk/javascript/src/errors.ts@@ -95,7 +95,7 @@ export class OpenWAAuthError extends OpenWAApiError {}export class OpenWAForbiddenError extends OpenWAApiError {}/** 404 Not Found. */export class OpenWANotFoundError extends OpenWAApiError {}-/** 409 Conflict — typically an {@link EngineNotReadyError} from the backend. */+/** 409 Conflict: the session is not ready for the operation, or a keyed send is pending or may already have been sent (see `code`). */export class OpenWAConflictError extends OpenWAApiError {}/*** 429 Too Many Requests: rate limited. The global rate limiter's 429 lifts when its windowdiff --git a/sdk/php/README.md b/sdk/php/README.mdindex 4a1158ce7..61d04b65e 100644--- a/sdk/php/README.md+++ b/sdk/php/README.md@@ -1,6 +1,6 @@# rmyndharis/openwa-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, and last-message types are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.+This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.Official PHP SDK for [OpenWA](https://github.com/rmyndharis/OpenWA), the open-source WhatsApp API Gateway. OpenWA is an independent project, not affiliated with or endorsed by WhatsApp or Meta.@@ -170,4 +170,4 @@ Supply a unique caller-owned key for one logical send and reuse it when retrying$client->messages->sendText($sessionId, ['chatId' => '[email protected]', 'text' => 'Hello'], 'order-123');```-The gateway supports text, image, video, audio, document, sticker, location, contact, template, poll, reply and forward sends. Completed calls replay their response; a 409 with the error `code` `IDEMPOTENCY_KEY_IN_PROGRESS` means the first request is still running, so retry with the same key later; a 409 `IDEMPOTENCY_OUTCOME_UNKNOWN` means the message may have been sent, so check the chat and, if it did not arrive, send again with a new key (the `code` tells them apart from the engine-not-ready 409). A changed request with the same key returns 422. The gateway retains keys for 24 hours. Bulk, product and button operations have no such guarantee. Omit the key to preserve existing behavior.+The gateway supports text, image, video, audio, document, sticker, location, contact, template, poll, reply and forward sends. Completed calls replay their response; a 409 whose `getErrorCode()` is `IDEMPOTENCY_KEY_IN_PROGRESS` means the first request is still running, so retry with the same key later; a 409 `IDEMPOTENCY_OUTCOME_UNKNOWN` means the message may have been sent, so check the chat and, if it did not arrive, send again with a new key (`getErrorCode()` tells them apart from the 409 for a session that is not connected). A changed request with the same key returns 422. The gateway retains keys for 24 hours. Bulk, product and button operations have no such guarantee. Omit the key to preserve existing behavior.diff --git a/sdk/php/src/Exceptions/OpenWAConflictException.php b/sdk/php/src/Exceptions/OpenWAConflictException.phpindex 968534a93..352821cac 100644--- a/sdk/php/src/Exceptions/OpenWAConflictException.php+++ b/sdk/php/src/Exceptions/OpenWAConflictException.php@@ -4,7 +4,7 @@ declare(strict_types=1);namespace OpenWA\Exceptions;-/** 409 Conflict — typically an engine-not-ready condition. */+/** 409 Conflict: the session is not ready for the operation, or a keyed send is pending or may already have been sent (see getErrorCode()). */class OpenWAConflictException extends OpenWAApiException{}diff --git a/sdk/python/README.md b/sdk/python/README.mdindex 6d2d47215..9a6080359 100644--- a/sdk/python/README.md+++ b/sdk/python/README.md@@ -1,6 +1,6 @@# rmyndharis-openwa-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, and last-message types are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.+This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.Official Python SDK for [OpenWA](https://github.com/rmyndharis/OpenWA), the open-source WhatsApp API Gateway. OpenWA is an independent project, not affiliated with or endorsed by WhatsApp or Meta.@@ -63,9 +63,12 @@ is configured the server returns 501.```pythonres = client.search.search({"q": "invoice", "sessionId": session_id, "limit": 20})for hit in res["hits"]:- print(hit["snippet"], hit["score"])+ print(hit["snippet"], hit.get("score"))```+`score` is provider-dependent and optional: the built-in provider on SQLite leaves it out for a key restricted+to sessions or chats, so read it with `get`.+## Messaging> Voice notes: pass `ptt=True` inside the body dict to `send_audio` to send a real WhatsApp voice note (PTT). Supply `audio/ogg; codecs=opus` audio for reliable playback; the server defaults the mimetype to that when `ptt` is set without one.@@ -178,4 +181,4 @@ Supply a unique caller-owned key for one logical send and reuse it when retryingclient.messages.send_text(session_id, {"chatId": "[email protected]", "text": "Hello"}, idempotency_key="order-123")```-The gateway supports text, image, video, audio, document, sticker, location, contact, template, poll, reply and forward sends. Completed calls replay their response; a 409 with the error `code` `IDEMPOTENCY_KEY_IN_PROGRESS` means the first request is still running, so retry with the same key later; a 409 `IDEMPOTENCY_OUTCOME_UNKNOWN` means the message may have been sent, so check the chat and, if it did not arrive, send again with a new key (the `code` tells them apart from the engine-not-ready 409). A changed request with the same key returns 422. The gateway retains keys for 24 hours. Bulk, product and button operations have no such guarantee. Omit the key to preserve existing behavior.+The gateway supports text, image, video, audio, document, sticker, location, contact, template, poll, reply and forward sends. Completed calls replay their response; a 409 with the error `code` `IDEMPOTENCY_KEY_IN_PROGRESS` means the first request is still running, so retry with the same key later; a 409 `IDEMPOTENCY_OUTCOME_UNKNOWN` means the message may have been sent, so check the chat and, if it did not arrive, send again with a new key (the `code` tells them apart from the 409 for a session that is not connected). A changed request with the same key returns 422. The gateway retains keys for 24 hours. Bulk, product and button operations have no such guarantee. Omit the key to preserve existing behavior.diff --git a/sdk/python/openwa/errors.py b/sdk/python/openwa/errors.pyindex fa1279313..f028e7e43 100644--- a/sdk/python/openwa/errors.py+++ b/sdk/python/openwa/errors.py@@ -106,7 +106,7 @@ class OpenWANotFoundError(OpenWAApiError):class OpenWAConflictError(OpenWAApiError):- """409 Conflict — typically an engine-not-ready condition."""+ """409 Conflict: the session is not ready for the operation, or a keyed send is pending or may already have been sent (see ``code``)."""class OpenWARateLimitError(OpenWAApiError):