deep-jade
deep-jade2y ago

Pass userData to request in Apify platform v3.1

Hi guys I want to pass data to the requestQueue , how can I do it in Apify platform v3.1 ? I were searching and saw this instruction: https://docs.apify.com/academy/node-js/request-labels-in-apify-actors. However Apify.openRequestQueue is deprecated in Apify v3.1 You can find my code in attachment Please help . Thank you
No description
No description
No description
3 Replies
deep-jade
deep-jadeOP2y ago
Thank @HonzaS . I extracted the the data from request.userData wrongly.
HonzaS
HonzaS2y ago
Yeah I see now, you have put it there as code and taking it out as data. Btw do you use the vscode debugger? In that you can stop program and actually see what is there in request.userData so you can find the bug much faster.

Did you find this page helpful?