Apify Discord Mirror

Updated 5 months ago

My actor is constantly marked as Under maintenance. How can I check why?

At a glance

The post is a brief statement, and the comments discuss issues with running an Apify actor and checking logs. Community members suggest referring to an article on testing Apify actors, and mention checking the default input and logs. They also discuss updating the input schema to include a default value for a required parameter, which seems to resolve the issue. There is no explicitly marked answer, but the community members work together to troubleshoot the problem.

Useful resources
Basically as in title.
O
D
R
13 comments
I guess, You will find all needed info in this article:

https://docs.apify.com/platform/actors/publishing/test
can I somehow check logs of that run?
I would really love to see logs of my failing checks
From the article above:
Plain Text
How we test
The test runs the Actor with its default input (defined by the prefill option in the input schema file) and expects it to finish with a Succeeded status within 5 minutes of the beginning of the run.


You can make test run with default input on Your own and see all logs.
I did it, and it success 😦
What is the name of your actor in the store?
danek/facebook-page-events-lite
I'm guessing that it might be some proxy fluctuation, but I'm not sure
Hello, I got same issue again
is there any way to check logs of failining maintenence jobs?
hi, it seems to be that urls parameter has no default/prefill value but it is a required parameter, so it might be failing with the default input
hm, can you share a bit more details? I just updated input schema to include:
Plain Text
        "urls": {
            "title": "urls",
            "type": "array",
            "description": "events urls",
            "editor": "requestListSources",
            "prefill": [
                {
                    "url": "http://example.com"
                }
            ]
        },

is this okay?
looks good, try to run the actor with default input and test if it succeeds
Attachment
image.png
hm, so far so good! Thanks
Add a reply
Sign up and join the conversation on Discord