Allan Delmare
09/10/2025, 6:05 PMkapa.ai
09/10/2025, 6:08 PMyaml refresh_token_updater: refresh_token_name: refresh_token access_token_config_path: - client_access_token refresh_token_config_path: - client_refresh_token token_expiry_date_config_path: - oauth_token_expiry_date refresh_token_error_status_codes: [] refresh_token_error_values: [] This matches the documented approach for single-use refresh tokens [Advanced Case: refresh token / single-use refresh token support](https://docs.airbyte.com/platform/next/connector-development/config-based/advanced-topics/oauth#advanced-case-refresh-token--single-use-refresh-token-support). 2. Connector Spec: Your spec includes client_refresh_token as a hidden, required field, which is correct. 3. Common Pitfalls: - Overwrite Config Option: In the Connector Builder UI, ensure that the "Overwrite config with refresh token response" (or "Refresh Token Updater") option is enabled. This is required for Airbyte to update the config with the new refresh token [Update refresh token from authentication response](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/authentication#update-refresh-token-from-authentication-response). - Testing Values: When using this option, you must specify an initial access token and its expiry date in the "Testing values" menu [Single-Use Refresh Tokens](https://docs.airbyte.com/platform/next/connector-development/connector-builder-ui/authentication#single-use-refresh-tokens). - Correct Property Names: Double-check that the property names in your refresh_token_updater (e.g., refresh_token_name, refresh_token_config_path) exactly match the names in your config and the token refresh response. 4. Known Issues: There have been reports of similar issues in the community and with other connectors (e.g., QuickBooks), where Airbyte did not update the refresh token as expected, leading to repeated use of expired tokens and sync failures. In those cases, the solution was to ensure the refresh_token_updater was configured and enabled properly, and that the connector was updated to a version supporting this feature [Github Issue: source-quickbooks token expires every 24h](https://github.com/airbytehq/airbyte/issues/49842). If it still doesn't work: - Make sure you are running a recent version of Airbyte that supports refresh_token_updater and config mutation. - Check Airbyte logs for errors or warnings related to config updates or token refresh. - If using Airbyte Cloud, ensure your workspace has the necessary permissions for config mutation. - If the problem persists, it may be a platform bug or a limitation in your Airbyte version. This feature relies on Airbyte's ability to persist config changes between syncs, which was only recently added and may not be available in all environments [Forum: Handle expiring refresh tokens with oauth](https://discuss.airbyte.io/t/3275). Summary: Your configuration appears correct according to the documentation. If Airbyte is not updating the refresh token, double-check the "Overwrite config with refresh token response" setting in the UI, ensure your property names match, and verify you are on a recent Airbyte version. If all else fails, this may be a platform issue, and you should consider raising a bug report with your logs and configuration. Let me know if you need help troubleshooting specific logs or error messages!