Teamwork - Create Task - Custom Field Missing CustomFieldId

Status: Closed · Asked by Andrew L on · 0 views

Andrew L — Question ·

Hi, we have a workflow that uses the Teamwork - Create Task action. It works well, but occasionally the workflow fails and it gives this error:

{
"MESSAGE": "Invalid custom field: Custom field missing customFieldId property",
"STATUS": "Error"
}

I cannot really understand why we're getting this error.

Although I suspect this is related when I look at the task "data in":


{
"api_endpoint_url": "https://echowebsolutions.teamwork.com/tasklists/3448092/tasks.json",
"todo-item": {
"tasklistId": "3448092",
"content": "Ticket name",
"description": "Stuff here",
"start-date": "",
"due-date": "",
"responsible-party-id": "580538",
"notify": "false",
"priority": "",
"tagIds": "",
"customFields": {
"pabbly_custom_fields": [
{
"customFieldId": "{{pabbly_custom_key}}",
"value": "{{pabbly_custom_value}}"
}
]

}
}
}

The thing is I'm not even using the custom fields. I'm leaving them blank. I've tried the opposite and filling them in, either way I'm getting the same error and it's very frustrating.

I've tried using stuff like {{pc_skip_field}} and {{pc_skip_field_with_parent}} from this article, makes no difference. Anyone got advice for how to get around it? The it otherwise works fine most of the time, but everytime it fails we lose time manually creating the Teamwork task.

Andrew L — Reply ·

Thank you Arshil for the clarification, I'll take appropriate actions from my end to filter the incoming data.

Back to all forum threads · Log in to reply