- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 06:19 AM
I have been several posts on this topic, and I have tried the suggestions but still cannot seem to make a record producer public. I would like users to be able to submit the record producer via a Service Now Portal without logging in. I have:
-1.Added a record producer to the Service Catalog.
2. Created a User Criteria with role public and added it under Available For on the Record Producer.
3. Created variables on the Record Producer with Read/Write/Create roles set to public
4. When i submit a record producer without logging in I received an alert message notification(" ErrorSomething went wrong and your request could not be submitted. Please contact your system administrator") and I have to do this task without rest api method .
Is There Any Other Option to Achieve This work (EXCEPT REST API).Please Help So That I can Complete this Work .I have mentioned a link below.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 06:47 AM
check these links
Unauthenticated users cannot submit catalog items on Service Portal
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 06:49 AM
@sanjeet1245 Just tested this and it seems that your user doesn't have access to access your submit_producer API. It is throwing 401 Unauthorised access error.
Check the access permissions for the public user and see if they can create a record on the table mentioned on the table field of the record producer form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 10:10 PM
Thankyou very much sir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 10:27 PM - edited 10-26-2023 11:40 PM
Hello sir @Sandeep Rajput The Error 401 Unauthorized and the solution given are correct but doing so will open the security which is risky . Any Alternative solution to complete the work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 11:50 PM
Hello @sanjeet1245 If this is going to be a public record producer which is going to be used by unauthenticated users then the access needs to be given to the public users, otherwise they will not be able to create records using it.
Instead of opening the record producer access to all unauthenticated users, I would rather choose to have some sort of authentication in place and make use of Explicit Roles plugin (com.glide.explicit_roles) to grant limited access to external users via (snc_external role) please refer to https://docs.servicenow.com/en-US/bundle/vancouver-platform-security/page/administer/contextual-secu... for more information on this plugin.
Hope this helps.