Skip to main content
Question

How to make an field type array?

  • January 27, 2021
  • 2 replies
  • 101 views

on line 142 scehma is not allowed ,

err msg:is not of type string,

how to allow array type fieldd

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Solution Partner
  • January 27, 2021

Hi @pushkar123 - I'm not sure why you're getting that error but I've noticed that the children array contains another array wrapping the category field. Make sure to flatten the children array before trying again.


jesse
Forum|alt.badge.img+9
  • Architect
  • March 30, 2021

@pushkar123 just wanted to check in here to see if @ikbelkirasan’s suggestion worked for you. Let us know if you’re still running into trouble - we want to make sure you’re good to go here!