Nicon
Nicon3d ago

No dataset schema found

Here is my issue: First I'm a bit confused, the docs say the actor needs a .actor/actor.json and I copied all the files into the .actor directory: - actor.json - dataset_schema.json - Dockerfile - input_schema.json - README.md When I try to push it with the CLI on my Mac "apify push" from the root directory, than it says that it can't find an actor. So I have a duplicate actor.json inside the root directory to make it work. It finds the input_schema.json but on apify.com when I check the Actor and the Publication tab, I see the error "No dataset schema found". my .actor/actor.json:
{
"actorSpecification": 1,
"name": "german-scraper",
"title": "German Scraper & Contact Extractor",
"description": "Scrapes contact information from websites.",
"version": "0.1",
"actorId": "DFGmNTlBz1KIoPES2",
"buildTag": "latest",
"minMemoryMbytes": 512,
"maxMemoryMbytes": 2048,
"usesStandbyMode": false,
"dockerfile": "./Dockerfile",
"readme": "./README.md",
"storages": {
"dataset": "./dataset_schema.json"
}
}
{
"actorSpecification": 1,
"name": "german-scraper",
"title": "German Scraper & Contact Extractor",
"description": "Scrapes contact information from websites.",
"version": "0.1",
"actorId": "DFGmNTlBz1KIoPES2",
"buildTag": "latest",
"minMemoryMbytes": 512,
"maxMemoryMbytes": 2048,
"usesStandbyMode": false,
"dockerfile": "./Dockerfile",
"readme": "./README.md",
"storages": {
"dataset": "./dataset_schema.json"
}
}
The dataset_schema.json is quite large: https://pastebin.com/s5aXSCx8 In the docs, sometimes its written "dataset_schema.json" or "DATASET_SCHEMA.json" and I tried both but no luck. I also tried to directly copy paste the schema in the actor.json and not as separate file. Any help / idea would be appreciated!
Pastebin
dataset_schema - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
No description
2 Replies
Nicon
NiconOP3d ago
its valid json yes. I attached a pastebin link

Did you find this page helpful?