Apify and Crawlee Official Forum

Home
Members
netmilk
n
netmilk
Offline, last seen 4 months ago
Joined August 30, 2024
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:
Plain Text
curl http://httpbin.org/ip | apify actor:push-data


But the run fails with:
Plain Text
2024-04-18T13:34:28.642Z     at DatasetClient.throwOnNonExisting (/usr/local/lib/node_modules/apify-cli/node_modules/@crawlee/memory-storage/resource-clients/common/base-client.js:15:15)
2024-04-18T13:34:28.643Z     at DatasetClient.pushItems (/usr/local/lib/node_modules/apify-cli/node_modules/@crawlee/memory-storage/resource-clients/dataset.js:158:18)
2024-04-18T13:34:28.644Z     at async PushDataCommand.run (/usr/local/lib/node_modules/apify-cli/src/commands/actor/push-data.js:25:9)
2024-04-18T13:34:28.644Z     at async PushDataCommand._run (/usr/local/lib/node_modules/apify-cli/node_modules/@oclif/command/lib/command.js:43:20)
2024-04-18T13:34:28.645Z     at async Config.runCommand (/usr/local/lib/node_modules/apify-cli/node_modules/@oclif/config/lib/config.js:173:24)
2024-04-18T13:34:28.646Z     at async Main.run (/usr/local/lib/node_modules/apify-cli/node_modules/@oclif/command/lib/main.js:28:9)
2024-04-18T13:34:28.647Z     at async Main._run (/usr/local/lib/node_modules/apify-cli/node_modules/@oclif/command/lib/command.js:43:20)
2024-04-18T13:34:28.648Z     at async /usr/local/lib/node_modules/apify-cli/src/bin/run:7:9


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#L6
4 comments
n
P