Vishal Chaudhari
05/12/2025, 9:32 AMCeligo AI
05/12/2025, 9:32 AMAI generated answer (using internal Slack threads):It seems like you're encountering an "Insufficient Permission" error when trying to access a Suitelet via an external URL, even though you've set all the necessary permissions. This issue often arises due to the restrictions of the script's audience or the limitations of the user's role. When a Suitelet is accessed via an external URL, it's essentially public-facing. This means that client scripts run with basically no permissions, as they're executed with the permissions of the current user. If the current user doesn't have the necessary permissions to perform certain actions, you'll encounter an "Insufficient Permission" error. To resolve this issue, you should avoid performing actions that require permissions in the client script. Instead, perform these actions in the Suitelet and set the data on a field that you can use in the client script. For example, if you're trying to perform a search in the client script, consider doing the search in the Suitelet instead. Also, ensure that your Suitelet's audience isn't too restricting. You can check this by going to the Suitelet's script record and reviewing the 'Audience' subtab. If necessary, adjust the audience to include the roles or employees that need to access the Suitelet. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Celigo AI
05/12/2025, 9:32 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.88308835
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845619738
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845203638
Celigo AI
05/12/2025, 9:32 AM