Require assistance adding the new UUID requirements to an existing python code.
I have followed the steps to find the secret in storage, but now need to be able to add this information into the relevant zaps. I have tried several variations within the run python code step and nothing seems to work - it all comes back with errors & the troubleshooting provided by zapier is not helpful.
For example entering the below -
import uuid
uuid.uuid4
UUID('the secret code created')
comes back with the error -
Failed to create a run python in Code by Zapier
Your code had an error! Traceback (most recent call last): File "<string>", line 10, in the_function NameError: name 'UUID' is not defined
If I enter
import uuid
uuid.uuid4 ('the secret code created')
it comes back with the error -
Failed to create a run python in Code by Zapier
Your code had an error! Traceback (most recent call last): File "<string>", line 9, in the_function TypeError: uuid4() takes 0 positional arguments but 1 was given