<@U04SE163WC8> when adding a field via transformat...
# help-connector-development
r
@kapa.ai when adding a field via transformation to my CDK connector, i get the error message
object does not support item assignment
. how can i fix this?
k
A message from kapa.ai
Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the [Airbyte documentation on adding fields](https://docs.airbyte.com/connector-development/connector-builder-ui/record-processing#adding-fields) for more information on how to properly add fields via transformation.
j
@Roberto Tolosa which version of the CDK / the Airbyte platform are you running? There has been a bug around AddField transformations that has been fixed in the most recent version
r
oh awesome – thanks for the heads up @Joe Reuter! i'm running v0.43.2 for the airbyte platform (not sure if i can run a separate version of the CDK itself)
j
Are you using the connector builder UI ?
r
yep!
j
In that case you are right, you can’t run a different cdk version
Upgrading Airbyte to 0.44.5 should do the trick
👌 1
r
guessing i should upgrade to 0.44.4 – i just didn't see much in terms of platofrm changes
if the latest i see in https://github.com/airbytehq/airbyte/releases is 0.44.4, is there a way to upgrade to 0.44.5? (sorry for the potentially basic questoin)
j
There’s a problem with the releases changelog - we are fixing it right now
0.44.5 is the latest, but it’s not listed on Gitbub (but the docker images are available)
r
ahh perfect
upgrading now 🚀
thanks Joe!!
0.44.5 comes with the builder button! 👏 i no longer need to access the url directly 😉
j
r
can confirm that i'm able to add fields now and i think i'll finally have the connector i'd been yearning for! 🔥
and all the new little UI tweaks from the new version are clutch 👌
j
That’s great! If you have any feedback about the builder (e.g. missing features) feel free to post them here, that’s an important signal for prioritization for us
r
will do! the hover-over examples are also much more descriptive now which is super helpful
not sure how broadly applicable this could be, but one thing that could help would be the ability to pass more headers than the Authentication header at the global connection level. for the connector i'm building (Demio – API docs) i need to pass both an API Key and an API Secret. took me a few minutes to realize i could just repeat the API Secret as a header in every stream, but this could be a bit repetitive and avoidable
👍🏼 1
i'm also trying to see if i can convert an epoch to timestamp, but it's not clear if that function/macro is supported. closest is can see is this Format Datetime section, which is not what i need (and when i tried it, it just seemed to parse it as literal text)
j
About the global headers - we heard this before, created an issue for this: https://github.com/airbytehq/airbyte/issues/26292
thanku 1
about the timestamps - I'm not sure whether there is a way to do this
in general, the guidance is to leave this kind of transformations to the warehouse: https://airbyte.com/blog/etl-vs-elt-the-key-differences
r
yeah, i figured i could also just transform it downstream. appreciate you getting the link for even more context