No dataset schema found
# apify-platform
n
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:
Copy code
javascript
{
  "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! https://cdn.discordapp.com/attachments/1422678985648902228/1422678986898542603/image.png?ex=68dd8c8e&is=68dc3b0e&hm=14d3c63f834d4fd1173e1478b8de0afcf0418c17439a081dc276f43219590530&
a
message has been deleted
n
its valid json yes. I attached a pastebin link
m
Hi @nicon_86626 this is indeed confusing. You should only need 1
actor.json
file (ideally in
.actor
folder). Could you please let me know what is the file structure that your Actor uses? Also what template did you use to create the Actor, if any?
n
I created a new project with a template and than copied over my src files and that worked. Not sure where the problem was