The code below is written for a Code by Zapier action using ActiveCampaign’s API version 1 and contact_sync api action, as directed by AC Support for my use case.
It appears to work but returns the following:
INFO Response Text: {“result_code”:0,“result_message”:“Invalid request”,“result_output”:“json”}
Since I’m new to using the fetch method in Zapier’s code action, any help troubleshooting is appreciated.
Note: Code in separate reply below due to 403 error when I tried to save an edit.
