Fetching Accounts using suiteQL Select * not working for REST API call
Hi,
I am trying to fetch all the accounts using the suiteql query using rest api call, here is my request
POST https://ACCOUNT_ID.suitetalk.api.netsuite.com/services/rest/query/v1/suiteql
I’ve found it to be quite common to get an unexpected error when using “SELECT * …” with various records, especially transactions. It seems you need to be a little more selective with the current version of REST Web Services.
I will second the other statement about “SELECT * …” queries being problematic. Even via SuiteScript N/query module I was running into errors as well, simply fixed by specifying columns to retrieve.
I believe even in once instance running query with .runSuiteQL() worked whereas .runSuiteQLPaged() did not … definitely seeing some inconsistencies.