Issues
Error#1b6622f0
ValidationError
Input is not valid: required property "startUrls" is missing
src/main.ts › validateInput · tiktok-scraper
Events
203
Users
96
First seen
Jun 2
Last seen
3h ago
Tags
actorseemuapps/tiktok-scraperoriginAPIbuild1.5.4userIsPayingfalse
Input
actor run input{
"maxItems": 50
}Stack trace
most recent call firstvalidateInputsrc/main.ts:18in app
13function validateInput(input: Input | null): asserts input is Input {14 if (!input) throw new ValidationError('Input is required');1516 const hasStartUrls = (input.startUrls?.length ?? 0) > 0;17 const hasSearchTerms = (input.searchTerms?.length ?? 0) > 0;18 if (!hasStartUrls && !hasSearchTerms) throw new ValidationError('startUrls is required');19}2021await Actor.init();22const input = await Actor.getInput<Input>();23validateInput(input);
Actor.getInputnode_modules/apify/actor.js:156
Breadcrumbs
leading up to the error- apifyActor.getInput() → { maxItems: 50 }−0s
- logno startUrls and no searchTerms provided−0s