Help Needed: Public Table Access Error ("Not Authorized or Record is Invalid") – dev187891

RohitPapann
Tera Contributor

Hi ServiceNow Community,

I’m reaching out for guidance on an issue I’ve encountered while exposing a custom table (Lead) to the public through my developer instance without login credentials.

Here’s what I’ve already configured:

Public access enabled on the portal
Page settings: Requires role = false
ACLs added for read access to snc_external and public roles
Related UI page and widgets set to public
Tested in Incognito using:
🔗 https://dev187891.service-now.com/sp?id=public_lead_submission

Issue:
When opening the link in incognito mode, I consistently receive this error:

"You are either not authorized or record is not valid."

It appears that the portal is loading fine (no login prompt), but the record producer or table is blocked due to an access misconfiguration I can't seem to pinpoint.

Can anyone help spot what might be missing (e.g., row-level ACL, widget script restriction, or role inheritance)?

I would greatly appreciate a second set of eyes or any direction 🙏

Thanks so much in advance!

Best,
Rohit
Developer Instance: dev187891
#ServiceNow #PortalAccess #ACL #PublicPage

1 ACCEPTED SOLUTION

GlideFather
Tera Patron

@RohitPapann 

if it shall be public, I see the same error as you mentioned.

However you can refer and get inspiration from this blog:
How to Setup your portal for Public Users?

 

Or KB0727651Set a Service Portal Page as Public:

In order to have a public service portal page you'll need to make sure:

  1. In the sys_public table te record referring to "$sp" is set to true
  2. Set the portal page (sp_page record) with public set to true 

 

Let me know if you managed it

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


View solution in original post

2 REPLIES 2

GlideFather
Tera Patron

@RohitPapann 

if it shall be public, I see the same error as you mentioned.

However you can refer and get inspiration from this blog:
How to Setup your portal for Public Users?

 

Or KB0727651Set a Service Portal Page as Public:

In order to have a public service portal page you'll need to make sure:

  1. In the sys_public table te record referring to "$sp" is set to true
  2. Set the portal page (sp_page record) with public set to true 

 

Let me know if you managed it

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Hi @GlideFather ,

Thanks for checking in.

I’ve reviewed your response, and I appreciate your input. However, I’m currently facing an issue — I’m unable to log in using the reference link you shared. It keeps redirecting me to the login page even when trying from an incognito window.

Could you please check if the access settings or permissions for the link need to be updated?

Let me know if you need any specific details from my end to troubleshoot further.

Looking forward to your suggestions.

Best regards,
Rohit