Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(sdk): use a well-formed session id in the not-found examples

Yudhi Armyndharis5c0c916fb2af
diff --git a/sdk/php/README.md b/sdk/php/README.md
index f72746f8b..d63f9dc43 100644
--- a/sdk/php/README.md
+++ b/sdk/php/README.md
@@ -66,7 +66,7 @@ was never carried out: a forward that fails after the request reached the owner
use OpenWA\Exceptions\OpenWANotFoundException;
try {
- $client->sessions->get('missing');
+ $client->sessions->get('00000000-0000-0000-0000-000000000000');
} catch (OpenWANotFoundException $e) {
echo $e->getStatus(); // 404
}
diff --git a/sdk/python/README.md b/sdk/python/README.md
index 90d0019ea..b1f2c8cda 100644
--- a/sdk/python/README.md
+++ b/sdk/python/README.md
@@ -80,7 +80,7 @@ the owner node answers 502 or 504.
from openwa import OpenWANotFoundError
try:
- client.sessions.get("missing")
+ client.sessions.get("00000000-0000-0000-0000-000000000000")
except OpenWANotFoundError as e:
print(e.status) # 404
```