Export Instagram Comments and Posts avatar

Export Instagram Comments and Posts

Try for free

No credit card required

Go to Store
Export Instagram Comments and Posts

Export Instagram Comments and Posts

apify/export-instagram-comments-posts
Try for free

No credit card required

This unique tool allows you to scrape Instagram posts and its comments in one run. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.

Developer
Maintained by Apify

Actor Metrics

  • 251 monthly users

  • 4.6 / 5 (7)

  • 29 bookmarks

  • 83% runs succeeded

  • 2.2 days response time

  • Created in Sep 2024

  • Modified 3 hours ago

Categories
IP

Actor does not allow for Arrays in username

Closed
integrative_postcard opened this issue
16 days ago

Hi! I noteiced that there is a missverification in the "username" field, the logs says it does not expect an array

2025-03-01T00:00:47.475Z ACTOR: Pulling Docker image of build xVgtVrxVlsW9Y40y0 from repository. 2025-03-01T00:00:49.230Z ACTOR: Creating Docker container. 2025-03-01T00:00:49.626Z ACTOR: Starting Docker container. 2025-03-01T00:00:50.703Z INFO System info {"apifyVersion":"3.3.2","apifyClientVersion":"2.12.0","crawleeVersion":"3.12.2","osType":"Linux","nodeVersion":"v20.18.3"} 2025-03-01T00:00:51.297Z INFO Starting Apify client's scheduler {"clientName":"CLIENT"} 2025-03-01T00:00:51.331Z file:///usr/src/app/node_modules/zod/lib/index.mjs:587 2025-03-01T00:00:51.333Z const error = new ZodError(ctx.common.issues); 2025-03-01T00:00:51.334Z ^ 2025-03-01T00:00:51.335Z 2025-03-01T00:00:51.335Z ZodError: [ 2025-03-01T00:00:51.337Z { 2025-03-01T00:00:51.338Z "code": "invalid_type", 2025-03-01T00:00:51.341Z "expected": "string", 2025-03-01T00:00:51.342Z "received": "array", 2025-03-01T00:00:51.343Z "path": [ 2025-03-01T00:00:51.344Z "username" 2025-03-01T00:00:51.345Z ], 2025-03-01T00:00:51.346Z "message": "Expected string, received array" 2025-03-01T00:00:51.347Z } 2025-03-01T00:00:51.348Z ] 2025-03-01T00:00:51.349Z at get error [as error] (file:///usr/src/app/node_modules/zod/lib/index.mjs:587:31) 2025-03-01T00:00:51.350Z at ZodObject.parse (file:///usr/src/app/node_modules/zod/lib/index.mjs:663:22) 2025-03-01T00:00:51.351Z at file:///usr/src/app/dist/main.js:17:78 2025-03-01T00:00:51.355Z at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { 2025-03-01T00:00:51.356Z issues: [ 2025-03-01T00:00:51.358Z { 2025-03-01T00:00:51.361Z code: 'invalid_type', 2025-03-01T00:00:51.362Z expected: 'string', 2025-03-01T00:00:51.363Z received: 'array', 2025-03-01T00:00:51.365Z path: [ 'username' ], 2025-03-01T00:00:51.366Z message: 'Expected string, received array' 2025-03-01T00:00:51.367Z } 2025-03-01T00:00:51.370Z ], 2025-03-01T00:00:51.371Z addIssue: [Function (anonymous)], 2025-03-01T00:00:51.372Z addIssues: [Function (anonymous)], 2025-03-01T00:00:51.373Z errors: [ 2025-03-01T00:00:51.374Z { 2025-03-01T00:00:51.376Z code: 'invalid_type', 2025-03-01T00:00:51.377Z expected: 'string', 2025-03-01T00:00:51.378Z received: 'array', 2025-03-01T00:00:51.379Z path: [ 'username' ], 2025-03-01T00:00:51.380Z message: 'Expected string, received array' 2025-03-01T00:00:51.381Z } 2025-03-01T00:00:51.382Z ] 2025-03-01T00:00:51.385Z } 2025-03-01T00:00:51.386Z 2025-03-01T00:00:51.387Z Node.js v20.18.3

alexey avatar

Hi!

It is the API error, not the actor error: all your recent runs finished fine: https://console.apify.com/view/runs/plzeB9eA5wMO826Qp

However, the call that you mentioned above provided the wrong input object and was rejected by API (without an actual run). Please check the actual payload in your API call.

I will close the issue now, but if there is anything else we can help with, please let us know.