Hi all
this is the first time that im using retool and doing some api stuff in general
Im trying to integrate "assembly ai" transcription api to retool.
according to the docs
they require a binary file option for the "put" action, however, I'm receiving this error whenever I'm trying to run a preview
Hey there! Just a quick heads up that you might need to specify {{filefile.value[0]}} and {{filefile.files[0].type}} in your query instead of using i with this solution!
Retool tries to guess the value of i and will set its value to 0 but only when previewing queries. When the query actually runs i will be undefined unless the query is triggered from a Table or List View component:
This can cause your transformer to return null instead of the desired value: