> For the complete documentation index, see [llms.txt](https://changelog.airship.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.airship.co.uk/july-2025/10-07-2025-opentable-bug-fix.md).

# 10/07/2025 - OpenTable Bug Fix

:bug: Bug Fix: Client Authentication Token Retrieval Failure

**Issue:**\
Previously, multiple account configurations pointing to a single account caused failures in retrieving the client authentication token from the database.

**Fixes Implemented:**

1. **Unique Token Handling via `config_id`:**\
   Introduced `config_id` support to differentiate between multiple configurations for the same account. Tokens are now stored and retrieved separately per client configuration.
2. **Enhanced Token Refresh Logic:**
   * Implemented automatic token refresh on receiving a 401 Unauthorised error.
   * Added a maximum retry limit for refresh attempts to prevent infinite loops.
   * Improved logging to provide better visibility into token refresh operations and failures.

:woman\_technologist: [mya.skylar](mailto:undefined)
