airbyte-agent-amazon-ads 0.1.20__py3-none-any.whl → 0.1.22__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -584,7 +584,7 @@ class LocalExecutor:
584
584
  return ExecutionResult(
585
585
  success=True,
586
586
  data={
587
- "status": "unhealthy",
587
+ "status": "skipped",
588
588
  "error": "No list operation available for health check",
589
589
  },
590
590
  )
@@ -599,7 +599,7 @@ class LocalExecutor:
599
599
  return ExecutionResult(
600
600
  success=True,
601
601
  data={
602
- "status": "unhealthy",
602
+ "status": "skipped",
603
603
  "error": "No standard handler available",
604
604
  },
605
605
  )
@@ -616,13 +616,14 @@ class LocalExecutor:
616
616
  )
617
617
  except Exception as e:
618
618
  return ExecutionResult(
619
- success=True,
619
+ success=False,
620
620
  data={
621
621
  "status": "unhealthy",
622
622
  "error": str(e),
623
623
  "checked_entity": check_entity,
624
624
  "checked_action": "list",
625
625
  },
626
+ error=str(e),
626
627
  )
627
628
 
628
629
  async def _execute_operation(
@@ -186,7 +186,16 @@ class HTTPXClient:
186
186
  # Try to get error message from response
187
187
  try:
188
188
  error_data = httpx_response.json()
189
- error_message = error_data.get("message") or error_data.get("error") or str(error_data)
189
+ errors_list = error_data.get("errors")
190
+ if isinstance(errors_list, list):
191
+
192
+ def _extract_error(e: object) -> str:
193
+ if isinstance(e, dict):
194
+ return str(e.get("userPresentableMessage") or e.get("message") or e.get("error") or e)
195
+ return str(e)
196
+
197
+ errors_list = ", ".join(_extract_error(e) for e in errors_list)
198
+ error_message = errors_list or error_data.get("message") or error_data.get("error") or str(error_data)
190
199
  except Exception:
191
200
  error_message = httpx_response.text or f"HTTP {status_code} error"
192
201
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airbyte-agent-amazon-ads
3
- Version: 0.1.20
3
+ Version: 0.1.22
4
4
  Summary: Airbyte Amazon-Ads Connector for AI platforms
5
5
  Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
6
6
  Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
@@ -135,6 +135,7 @@ See the official [Amazon-Ads API reference](https://advertising.amazon.com/API/d
135
135
 
136
136
  ## Version information
137
137
 
138
- - **Package version:** 0.1.20
138
+ - **Package version:** 0.1.22
139
139
  - **Connector version:** 1.0.4
140
- - **Generated with Connector SDK commit SHA:** 43200eed5845ee089ef5b9afc0199a8af3966169
140
+ - **Generated with Connector SDK commit SHA:** 5b20f488dec0e8f29410823753106603c23a4b65
141
+ - **Changelog:** [View changelog](https://github.com/airbytehq/airbyte-agent-connectors/blob/main/connectors/amazon-ads/CHANGELOG.md)
@@ -21,7 +21,7 @@ airbyte_agent_amazon_ads/_vendored/connector_sdk/cloud_utils/__init__.py,sha256=
21
21
  airbyte_agent_amazon_ads/_vendored/connector_sdk/cloud_utils/client.py,sha256=YxdRpQr9XjDzih6csSseBVGn9kfMtaqbOCXP0TPuzFY,7189
22
22
  airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/__init__.py,sha256=EmG9YQNAjSuYCVB4D5VoLm4qpD1KfeiiOf7bpALj8p8,702
23
23
  airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/hosted_executor.py,sha256=AC5aJtdcMPQfRuam0ZGE4QdhUBu2oGEmNZ6oVQLHTE8,7212
24
- airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/local_executor.py,sha256=abtQOMZhJBrvE3ioKi-g-R_GZJZozYJNczYySQEEIX8,76981
24
+ airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/local_executor.py,sha256=l2b0VILgtOlUNyG19J0UkbCa6rJXkU8g1uzLot8BJjQ,77008
25
25
  airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/models.py,sha256=mUUBnuShKXxVIfsTOhMiI2rn2a-50jJG7SFGKT_P6Jk,6281
26
26
  airbyte_agent_amazon_ads/_vendored/connector_sdk/http/__init__.py,sha256=y8fbzZn-3yV9OxtYz8Dy6FFGI5v6TOqADd1G3xHH3Hw,911
27
27
  airbyte_agent_amazon_ads/_vendored/connector_sdk/http/config.py,sha256=6J7YIIwHC6sRu9i-yKa5XvArwK2KU60rlnmxzDZq3lw,3283
@@ -29,7 +29,7 @@ airbyte_agent_amazon_ads/_vendored/connector_sdk/http/exceptions.py,sha256=eYdYm
29
29
  airbyte_agent_amazon_ads/_vendored/connector_sdk/http/protocols.py,sha256=eV7NbBIQOcPLw-iu8mtkV2zCVgScDwP0ek1SbPNQo0g,3323
30
30
  airbyte_agent_amazon_ads/_vendored/connector_sdk/http/response.py,sha256=Q-RyM5D0D05ZhmZVJk4hVpmoS8YtyXNOTM5hqBt7rWI,3475
31
31
  airbyte_agent_amazon_ads/_vendored/connector_sdk/http/adapters/__init__.py,sha256=gjbWdU4LfzUG2PETI0TkfkukdzoCAhpL6FZtIEnkO-s,209
32
- airbyte_agent_amazon_ads/_vendored/connector_sdk/http/adapters/httpx_adapter.py,sha256=dkYhzBWiKBmzWZlc-cRTx50Hb6fy3OI8kOQvXRfS1CQ,8465
32
+ airbyte_agent_amazon_ads/_vendored/connector_sdk/http/adapters/httpx_adapter.py,sha256=7ounOUlpx7RBLLqYSGWzEsOnnCgCBH3WCDaQFJcmKj0,8902
33
33
  airbyte_agent_amazon_ads/_vendored/connector_sdk/logging/__init__.py,sha256=IZoE5yXhwSA0m3xQqh0FiCifjp1sB3S8jnnFPuJLYf8,227
34
34
  airbyte_agent_amazon_ads/_vendored/connector_sdk/logging/logger.py,sha256=rUdKDEQe3pOODmBLEcvhgZeEZi48BvrgKXKq1xvCXu0,8387
35
35
  airbyte_agent_amazon_ads/_vendored/connector_sdk/logging/types.py,sha256=ONb9xKNXUkrR2lojSBMF7ruof7S2r92WjrO_kEZic84,3239
@@ -52,6 +52,6 @@ airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/__init__.py,sha256=Ra
52
52
  airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
53
53
  airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
54
54
  airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/tracker.py,sha256=SginFQbHqVUVYG82NnNzG34O-tAQ_wZYjGDcuo0q4Kk,5584
55
- airbyte_agent_amazon_ads-0.1.20.dist-info/METADATA,sha256=jvlSaHL3fOB4s4JsSStWQ9Kw34vKeuvYywrF1-CTtJk,5192
56
- airbyte_agent_amazon_ads-0.1.20.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
- airbyte_agent_amazon_ads-0.1.20.dist-info/RECORD,,
55
+ airbyte_agent_amazon_ads-0.1.22.dist-info/METADATA,sha256=22BBhv0tFV2NG_0ykQu7bUg5gXLbJqelurA0oCUTbDE,5326
56
+ airbyte_agent_amazon_ads-0.1.22.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
+ airbyte_agent_amazon_ads-0.1.22.dist-info/RECORD,,