Hi. We have just started testing SuiteQL and simpl...
# suitetalkapi
m
Hi. We have just started testing SuiteQL and simple queries are running fine on our Sandbox instance. We are getting 400 Bad Request responses when making the same calls on Prod. The NS admin does not immediately see a difference in permissions between Sandbox and Prod. I thought someone on this channel might know of a setting that could be missing. Part of the JSON response is here: "o:errorDetails": [ { "detail": "Invalid search query. Detailed unprocessed description follows. Your current role does not have permission to perform this action.", "o:errorQueryParam": "q", "o:errorCode": "INVALID_PARAMETER" }
b
What Authentication Method are using ? if you are using OAuth1. Make sure you generate the necessary tokens for the authenticated user.
m
Yes OAuth1. Tokens are good. The same calls that work with our sandbox instance do not work with the Production instance (switching credentials of course)
b
m
Thanks @battk. SuiteAnalytics permissions were not set for the relevant roles. That did the trick. Now using the NSSAW doc to suss out how to get access to all of the record types we need.