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
ehcanadian
01/30/2023, 6:37 PM
Try checking 'Run unrestricted' in your search definition
d
Dakotah Shore
01/30/2023, 6:54 PM
@ehcanadian Just confirmed that's already set, and there aren't any audience restrictions on the search. Set to public as well.