I’ve followed the instructions on https://help.klaviyo.com/hc/en-us/articles/4407486310683-How-to-Send-Consent-to-Klaviyo-via-Zapier
Everything goes fine until testing the action, I get:
Failed to create a run python in Code by Zapier
Your code had an error! Traceback (most recent call last): File "<string>", line 22, in the_function KeyError: 'phone_number'