CA
Crawlee & Apify15mo ago
equal-aqua

Expected property `properties` to be of type `object` but received type `undefined` in object

So I setup my INPUT_SCHEMA.json under the .actor folder
{
"title": "....",
"description": "....",
"type": "object",
"schemaVersion": 1,
"properties": {
"userPrompt": {
"title": ".....",
"type": "string",
"description": ".....",
"prefill": "...",
"editor": "textarea"
},
"ignoreMain": {
"title": "Ignore Main",
"type": "boolean",
"description": "Flag to ignore main content scraping",
"prefill": true,
"editor": "checkbox"
},
"data": {
"title": "Data",
"type": "array",
"description": "Data containing ....",
"editor": "json"
}
},
"required": ["userPrompt", "ignoreMain", "data"]
}
{
"title": "....",
"description": "....",
"type": "object",
"schemaVersion": 1,
"properties": {
"userPrompt": {
"title": ".....",
"type": "string",
"description": ".....",
"prefill": "...",
"editor": "textarea"
},
"ignoreMain": {
"title": "Ignore Main",
"type": "boolean",
"description": "Flag to ignore main content scraping",
"prefill": true,
"editor": "checkbox"
},
"data": {
"title": "Data",
"type": "array",
"description": "Data containing ....",
"editor": "json"
}
},
"required": ["userPrompt", "ignoreMain", "data"]
}
but im getting this here is my actor.json
{
"actorSpecification": 1,
"name": "get x",
"version": "0.0",
"buildTag": "latest",
"input": {
"schema": "INPUT_SCHEMA.json"
},
"environmentVariables": {
"xApi": "x"
}
}
{
"actorSpecification": 1,
"name": "get x",
"version": "0.0",
"buildTag": "latest",
"input": {
"schema": "INPUT_SCHEMA.json"
},
"environmentVariables": {
"xApi": "x"
}
}
when i run i get build failed pop up
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?