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 I
Executive Chef I

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 I
Executive Chef I

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"

}

]