airbytehq / airbyte

The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
https://airbyte.com
Other
15.46k stars 3.99k forks source link

[source-klarna] incorrect config.region values: change 'us' --> 'na' #38580

Open gndaniela opened 3 months ago

gndaniela commented 3 months ago

Connector Name

source-klarna

Connector Version

0.2.4

What step the error happened?

During the sync

Relevant information

Current Klarna endpoints:

The extractor fails when using 'us', it hits a wrong endpoint: 'api-us.klarna.com'

Relevant log output

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api-us.klarna.com', port=443): Max retries exceeded with url: /settlements/v1/payouts?size=500 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x1034e6940>: Failed to resolve 'api-us.klarna.com' ([Errno 8] nodename nor servname provided, or not known)"))

Contribute

marcosmarxm commented 3 months ago

Feel free to ping me on Slack if you have questions about the contribution @gndaniela