Skip to content

Commit

Permalink
connector getLago: ignore 405 response for customer usage
Browse files Browse the repository at this point in the history
  • Loading branch information
sviande committed Sep 6, 2024
1 parent 950ea06 commit 0f18457
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions airbyte-integrations/connectors/source-getlago/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,17 @@ definitions:
$ref: "#/definitions/base_requester"
path: /customers/{{stream_slice.customer_external_id}}/current_usage
http_method: GET
error_handler:
type: CompositeErrorHandler
error_handlers:
- type: DefaultErrorHandler
response_filters:
- type: HttpResponseFilter
action: IGNORE
predicate: >-
{{response.status == 405 and response.code ==
'no_active_subscription' }}
http_codes: []
record_selector:
type: RecordSelector
extractor:
Expand Down

0 comments on commit 0f18457

Please sign in to comment.