Question

How do I add new UUID requirements to an existing Python code?

  • 1 September 2022
  • 0 replies
  • 274 views

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


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.