Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

How to resolve Invalid search query error when using IS_NOT operator?

edited Feb 23, 2023 12:28AM in Ask A Guru 5 comments


I'm using SuiteTalk REST Web Services. When I want to filter "task" records of which timed event field is not false using IS_NOT operator (mentioned in NetSuite doc), the service returned 400 Bad Request Error with message "Invalid search query".

The same issue occurs when I'm trying to filter with other boolean fields on "task" or other records. This error also appears when using END_WITH operator on string-based fields.

------------- POSTMAN request -------------

GET https://test.suitetalk.api.netsuite.com/services/rest/record/v1/task?offset=0&limit=499&q=timedEvent+IS_NOT+false

User-Agent: PostmanRuntime/7.31.0

Authorization: Bearer .....(token)

Accept: application/json

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!


Community Whiz

Quarter 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders