airbyte-api-python-sdk
airbyte-api-python-sdk copied to clipboard
Stripe Connection Creation Fails with status 422
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$ "
}