missing permissions when querying by externalId on...
# ask-stanley-ai
l
missing permissions when querying by externalId on: /services/rest/record/v1/salesOrder?q=externalId==%22SHP%20123%22 or when querying by custom transaction field (called custbody1). However I have the following permissions set: Transactions > SalesOrders > Full Setup > Custom Body Fields > Full Setup > Custom Entity Fields > Full Setup > Custom Transaction Fields > Full I still get this error: 400, 'o:errorDetails': [{'detail': "Invalid search query. Detailed unprocessed description follows. Record 'transaction' was not found. Reason: INSUFFICIENT_PERMISSIONS - Missing permissions for this record.", 'o:errorQueryParam': 'q', 'o:errorCode': 'INVALID_PARAMETER'
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems like you are missing some permissions that are required to perform the operation. The error message you are receiving indicates that you lack sufficient permissions to access the 'transaction' record. In addition to the permissions you have already set, you might need to add the 'Find Transactions' permission to your role. This permission is often necessary when querying transactions in NetSuite. Also, it's important to note that changes in permissions may not take effect immediately. You may need to log out and log back in for the permissions to refresh. If you still encounter the error after adding the 'Find Transactions' permission and refreshing your session, you might need to review your permissions again or check if there are other permissions related to transactions that you might have missed. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.869219184
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.854346335
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845526159
Please provide your feedback on this answer.
Thank you for your feedback