airbyte-api-python-sdk icon indicating copy to clipboard operation
airbyte-api-python-sdk copied to clipboard

Stripe Connection Creation Fails with status 422

Open HisAnteater2 opened this issue 2 years ago • 0 comments

Request-

request: shared.SourceCreateRequest = shared.SourceCreateRequest(
      configuration=shared.SourceStripe(
              'valid_account_id',
              'valid_client_secret',
              shared.SourceStripeStripe.STRIPE,
              datetime(2023, 1, 1),
          ),
      name="some_string",
      workspace_id="valid_workspace_id",
)

Response-

{
  "type": "https://reference.airbyte.com/reference/errors#unprocessable-entity",
  "title": "unprocessable-entity",
  "status": 422,
  "detail": "The provided configuration does not fulfill the specification. Errors: json schema validation failed when comparing the data to the json schema. \nErrors: $.start_date: 2023-01-01T00:00:00 is an invalid date-time, $.start_date: does not match the regex pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$ "
}

HisAnteater2 avatar Jun 14 '23 12:06 HisAnteater2