Random confusing issue - getting an error "INVALID...
# suitescript
d
Random confusing issue - getting an error "INVALID_TASK_TYPE" when attempting to use task.createTask() with a type of "SEARCH". This exact same code works when we run the request through an Administrator role, but fails on a non-admin role.
e
Try checking 'Run unrestricted' in your search definition
d
@ehcanadian Just confirmed that's already set, and there aren't any audience restrictions on the search. Set to public as well.