Error: Dataset with id: [ACTOR_DEFAULT_DATASET_ID] does not exist.
Hello everyone,
I'm trying to use
apify actor:push-data
inside an actor. The command is inside a dockerized shell script [1] and as simple as this:
But the run fails with:
I think I exhausted all the debug option I found online, so I kindly ask for help here.
What am I missing?
[1] https://github.com/netmilk/actor-curl/blob/d31d4805e5be4a6ef06b3f2e291bbb44da517000/bin/start.sh#L6GitHub
actor-curl/bin/start.sh at d31d4805e5be4a6ef06b3f2e291bbb44da517000...
Apify Actor Curl demo [WIP]. Contribute to netmilk/actor-curl development by creating an account on GitHub.
4 Replies
Hi @netmilk,
Thank you for your feedback I will reach out to our tooling team for more information.
flat-fuchsiaOP•13mo ago
Hey @Pepa J , thank you, I appreciate that. I can't wait to crack this one. 🙂
flat-fuchsiaOP•13mo ago
Just a quick note. Please, prove me wrong, but I think I found out it couldn't ever work. This [1] condition is always
true
and the cli then always uses the MemoryStorage
regardless the ENV variables exposed by the Run for the Actor. If I overrode the forceCloud
to true
it uses the ApifyClient
adaptor, it works as expected and I can see the data in the "Run Detail > Storage > Dataset" tab in the Apify Cloud Console. I'll file a Github Issue later and let's follow up there. Ok?
[1] https://github.com/apify/apify-cli/blob/8f7b1fd84c4070a11b0af26b64c6a5002f7a7218/src/lib/actor.ts#L30GitHub
apify-cli/src/lib/actor.ts at 8f7b1fd84c4070a11b0af26b64c6a5002f7a7...
Apify command-line interface helps you create, develop, build and run Apify actors, and manage the Apify cloud platform. - apify/apify-cli
flat-fuchsiaOP•13mo ago
Ok, let's follow up here in Github Issues: https://github.com/apify/apify-cli/issues/553
GitHub
actor:push-data
doesn't work in the Apify Platform · Issue #553 ·...I found out the apify actor:push-data command works locally, but doesn't work when I apify push it to the platform and then I apify run iit. I tried my best to replicate the remote environment ...