Boost your productivity and maximize your use of NetSuite with Training delivered by Education Services expert resources. Get started today with a free LCS Explorer Pass.

Discussions

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!
Attention: Customers with NetSuite Electronic Bank Payment (EBP) SuiteApp, version 2020.2 QA (ID 315896) must UPDATE (do NOT uninstall) their bundle to the Production version 2022.1 (ID 416781) by December 31, 2022. Note: If users fail to manually update the Electronic Bank Payments SuiteApp within the given time window, this version of the SuiteApp (ID: 315896) will be deprecated and the account will not be updated to Leading version (2022.1) of the Electronic Bank Payments SuiteApp. Please refer to the campaign email sent to impacted customers for more information.
Update your Profile with your Support type to get your Support Type badge.
Join the NetSuite Referral Program and get rewarded for introducing your peers to the NetSuite community. ⭐️ https://lnkd.in/eYXGYfC9
Drumroll please...registration for #SuiteWorld 2023 is now OPEN! See you in Las Vegas October 16-19 to celebrate 25 years of NetSuite with even more learning, more networking, and more fun! The show will sell-out (again), so grab that Early Bird $300 discount and reserve your spot today!

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

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

Hi,

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.

Register

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

Leaderboard

This Week's Leaders

This Month's Leaders

All Time Leaders