โ08-12-2022 02:38 PM
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)
โ08-12-2022 06:52 PM
Are you able to share the schema or link to it? You can use pastebin.com to quickly make a link to share text.
โ08-12-2022 07:02 PM
Here is the schema file already in Json. This was extracted from workato itself
โ08-12-2022 07:04 PM
Or the link here: https://pastebin.com/uC8xQXDR
โ08-12-2022 08:07 PM
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"
}
]