Hi guys, I am using a tap for ServiceNOW data that was built using the Meltano Tap SDK. When we try ...
c
Hi guys, I am using a tap for ServiceNOW data that was built using the Meltano Tap SDK. When we try to run the tap we get the following error and it fails:
Copy code
KeyError: 'sys_updated_on.value'
e
Hi @Chris Goodell! That
KeyError
is coming from https://github.com/meltano/sdk/blob/392b1c769fa29c9338c12d7b16185a0bc847cd85/singer_sdk/helpers/_state.py#L220. It means the record does NOT contain the
sys_updated_on.value
key in this case. The singer-sdk does not support nested replication at the moment (see #1198), so the stream definitions should be updated to use post_process to extract the nested field into a top-level
sys_updated_on
.
It's probably at least worth logging an issue to make the maintainers aware: https://github.com/Slalom-Consulting/tap-servicenow/issues
c
Ah ok, thanks Edgar!
👍 1