cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Max size for Parameter schema in a callable recipe[SOLVED]

samuel-malaga
Deputy Chef I
Deputy Chef I

I've been trying create a parameter schema in a callable recipe using a Json and im always getting the following error: Invalid schema(found fields with invalid type/name) but the message is kind of odd because this schema is used in another recipe i developed in workato and in said recipe the schema is valid, could it be the size of it that is triggering this error? There is specific information about the limits of a json schema for a callable recipe parameter schema?


Ps: The schema contains 400 fields, i already tried to update the scema by json(same error) and by uploading a file(file too big error)

5 REPLIES 5

gary1
Executive Chef III
Executive Chef III

Are you able to share the schema or link to it? You can use pastebin.com to quickly make a link to share text.

Here is the schema file already in Json. This was extracted from workato itself

Or the link here: https://pastebin.com/uC8xQXDR

gary1
Executive Chef III
Executive Chef III

Thanks for sharing. The "name" key can't contain spaces.


If you try this, it will throw the error:


[

{

"control_type": "text",

"label": "Batch ID",

"type": "string",

"name": "Batch ID"

}

]


If you try this, it will work fine:


[

{

"control_type": "text",

"label": "Batch ID",

"type": "string",

"name": "Batch_ID"

}

]