Webhook Server Response error

Anyone can help to explain to me what is the meaning of below Server response?

local variable 'new_customer' referenced before assignment

If you can show some of your code related to using the variable it could help someone help you. The error is saying your code tried to use the value of the variable before you actually assigned a value to it or something similar.