How to allow users with role "snc_external" access /api/now/tinyurl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago - last edited 3 hours ago
Hi all,
Is there a way to grant users with the snc_external role access to /api/now/tinyurl?
In the out‑of‑the‑box widget-data-table portal widget, the export function URLs are generated using the TinyURL REST API. Everything works correctly for users with the snc_internal role. However, when users with the snc_external role attempt to use the export features, they receive a 403 Forbidden error, and the exported file contains incorrect data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I could see that widget already has snc_external role
are you checking at the correct place?
May be within that widget at some place role check is happening
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago - last edited 3 hours ago
Thanks for your quick reply.
the widget is visible to snc_external users. but the export functions is trying to send a HTTP POST message to /api/now/tinyurl to shorten the URL of the export functions when it is too long. However, snc_external users are not able to access to this REST api (403 forbidden).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
check my below response where solution is proposed
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
