Webhook Settings: Invalid json Format

Hello! I keep receiving:

HTTP Status Code = 400,
Response Text = {“code”:“invalid_json”,“message”:“Request body has invalid json format”}

I am pulling information from the company custom field, to the ticket custom field. I cannot find what the issue is. Any ideas?

Hi @adriabebensee

Greetings!

Welcome to the community :tada:

Please try the below JSON
{ "custom_fields": { "cf_company_parent_company": "{{ticket.contact.parent_company}}" } }

And let me know if that works.

Thank you.

Thank you! I am still receiving the error though.

One note: you said it’s a Company custom field, but you are pulling a Contact field.

Sorry this is company field to the contact custom field.

Hello! So I believe that is resolved but now I am receiving: Response Text = {“code”:“invalid_credentials”,“message”:“You have to be logged in to perform this action.”}

You can enable the authentication and enter your API key

image