Apify and Crawlee Official Forum

Updated 5 months ago

Output schema not accepted

At a glance
Hi there, I'm trying to use an output schema. I have a line in my actor.json file "output": "./output_schema.json", and then an output_schema.json file in the .actor folder (attached). When I try building my actor I get the following error:

{
"instancePath": "",
"schemaPath": "#/required",
"keyword": "required",
"params": {
"missingProperty": "properties"
},
"message": "must have required property 'properties'"
}
]


I have a properties property (lol) on line 26. Any ideas what I'm doing wrong?
A
2 comments
In the documentation it even says that properties is not required, but when I remove it entirely I get the same issue: https://docs.apify.com/platform/actors/development/actor-definition/output-schema
I figured it out... it was nested wrong... damn formatting typos
Add a reply
Sign up and join the conversation on Discord