I hava a create actionÂ
. i want to create a post request like following;
curl -X 'POST' \
'https://xxx/api/v2/companies/search' \
-H 'accept: application/json' \
-H 'Authorization: Bearer XXX' \
-H 'Content-Type: application/json' \
-d '{
"TagIds":
1,2,3
]
}'
Â
My input field need to be list of integer. i try to use like following.
inputFields: :
    {
     key: 'TagIds',
     children: Â
      {
       key: 'tag',
       type: 'string'
      },
     ],
    }
   ],
Â
but i get this error;Â "Invalid Input. Either required parameters are missing or parameters are not in expected formats."
my create post like this;
const response = await z.request({
   method: 'POST',
   url: '{{bundle.authData.baseurl}}/api/v2/companies/search',
   body: {
    TagIds: bundle.inputData.TagIds // json by default
   }
  });
  return response.data
Â
how can i fix this?