Apify and Crawlee Official Forum

T
Troy
Offline, last seen 4 months ago
Joined August 30, 2024
I'm developing a custom actor for my project and it fully works as I intended it but when I use the apify API to interact with it programmatically the actor doesn't seem to be receiving the inputs as it should be. I send it as JSON properly and everything but it gives me the error:

Plain Text
2024-03-05T03:14:23.013Z undefined:1
2024-03-05T03:14:23.014Z [object Object]
2024-03-05T03:14:23.015Z  ^
2024-03-05T03:14:23.016Z
2024-03-05T03:14:23.017Z SyntaxError: Unexpected token o in JSON at position 1
2024-03-05T03:14:23.018Z     at JSON.parse (<anonymous>)
2024-03-05T03:14:23.019Z     at file:///usr/src/app/src/main.js:65:26
2024-03-05T03:14:23.020Z     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-03-05T03:14:23.023Z
2024-03-05T03:14:23.026Z Node.js v18.19.1


Not really sure where to go from here, but i'd appreciate any help.
9 comments
O
T