Apify and Crawlee Official Forum

6
6
Offline, last seen 4 months ago
Joined August 30, 2024
So I setup my INPUT_SCHEMA.json under the .actor folder

Plain Text
 {
    "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

Plain Text
{
    "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