Skip to main content
Announcements
Join us on Sept. 17 to hear how our new GenAI Assistant empowers data professionals: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
lalligood
Contributor
Contributor

Stripe integration failing with errors during transform

See error snippet below.

For the past few days I've been getting some messages that my stripe integration has been failing. Looks like it isn't transforming UNIX epoch time to a timestamp. Greatly appreciate any suggestions as to how I can resolve.

2022-02-21 17:06:18,217Z  tap - CRITICAL Errors during transform

2022-02-21 17:06:18,217Z  tap - pause_collection.resumes_at: 1639839041294 does not match {'format': 'date-time', 'type': ['string', 'null']}

2022-02-21 17:06:18,217Z  tap - pause_collection: {'behavior': 'void', 'resumes_at': 1639839041294} does not match {'properties': {'behavior': {'type': ['string', 'null']}, 'resumes_at': {'format': 'date-time', 'type': ['string', 'null']}}, 'selected': True, 'inclusion': 'available', 'type': ['object', 'null']}

2022-02-21 17:06:18,217Z  tap - Traceback (most recent call last):

2022-02-21 17:06:18,217Z  tap -  File "/code/orchestrator/tap-env/bin/tap-stripe", line 33, in <module>

2022-02-21 17:06:18,217Z  tap -   sys.exit(load_entry_point('tap-stripe==1.5.2', 'console_scripts', 'tap-stripe')())

2022-02-21 17:06:18,217Z  tap -  File "/code/orchestrator/tap-env/lib/python3.9/site-packages/singer/utils.py", line 225, in wrapped

2022-02-21 17:06:18,218Z  tap -   return fnc(*args, **kwargs)

2022-02-21 17:06:18,218Z  tap -  File "/code/orchestrator/tap-env/lib/python3.9/site-packages/tap_stripe/__init__.py", line 841, in main

2022-02-21 17:06:18,218Z  tap -   sync()

2022-02-21 17:06:18,218Z  tap -  File "/code/orchestrator/tap-env/lib/python3.9/site-packages/tap_stripe/__init__.py", line 817, in sync

2022-02-21 17:06:18,218Z  tap -   sync_event_updates(stream_name)

2022-02-21 17:06:18,218Z  tap -  File "/code/orchestrator/tap-env/lib/python3.9/site-packages/tap_stripe/__init__.py", line 760, in sync_event_updates

2022-02-21 17:06:18,218Z  tap -   rec = transformer.transform(

2022-02-21 17:06:18,218Z  tap -  File "/code/orchestrator/tap-env/lib/python3.9/site-packages/singer/transform.py", line 131, in transform

2022-02-21 17:06:18,218Z  tap -   raise SchemaMismatch(self.errors)

2022-02-21 17:06:18,218Z  tap - singer.transform.SchemaMismatch: Errors during transform

2022-02-21 17:06:18,218Z  tap - pause_collection.resumes_at: 1639839041294 does not match {'format': 'date-time', 'type': ['string', 'null']}

2022-02-21 17:06:18,218Z  tap - pause_collection: {'behavior': 'void', 'resumes_at': 1639839041294} does not match {'properties': {'behavior': {'type': ['string', 'null']}, 'resumes_at': {'format': 'date-time', 'type': ['string', 'null']}}, 'selected': True, 'inclusion': 'available', 'type': ['object', 'null']}

Labels (3)
0 Replies