We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 525fec1 commit 0f76d41Copy full SHA for 0f76d41
airbyte/_util/api_util.py
@@ -118,7 +118,8 @@ def get_config_api_root(api_root: str) -> str:
118
return str(config_api_override)
119
120
# Fall back to deriving from the main API root
121
- if api_root == CLOUD_API_ROOT:
+ # Normalize URLs by stripping trailing slashes to handle common variants
122
+ if api_root.rstrip("/") == CLOUD_API_ROOT.rstrip("/"):
123
return CLOUD_CONFIG_API_ROOT
124
125
raise NotImplementedError(
airbyte/cloud/workspaces.py
@@ -267,7 +267,7 @@ def get_organization(
267
"""
268
try:
269
info = self._organization_info
270
- except AirbyteError:
+ except (AirbyteError, NotImplementedError):
271
if raise_on_error:
272
raise
273
return None
0 commit comments