Skip to main content
lokeshm0005
Participating Frequently
Mar 12, 2024 11:51 AM UTC
Question

classify email AI - error :The user does not have permission to view document

Hi,

overview :

1. I am sending a email to process model and store the data's in pv

2. With the use of (Create Eml File from OOTB Poller) smart service generating a document in EML format

3. In classify email AI - passing the generated document as input.

I am getting an error saying " The user does not have permission to view document " in classify email

All objects(AI,process model,document folder) have Admin access

Also the generated doc from step 2 is showing "not in the application" but it is in document folder within the application

Pla suggest a solution to resolve this.

Thanks in Advance

11 replies

stefanhelzle0001
Brainy
Mar 12, 2024 12:10 PM UTC

Did you check that the user running the process has access to that folder? In your case, where the process is started by the incoming email, this would be the anonymous user. So you would have to provide access to that folder to everybody.

lokeshm0005
Participating Frequently
Mar 12, 2024 2:19 PM UTC

Thanks [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] . I found the issue, as you said it is anonymous user. So, I made the Default security as "viewer" for AI. It's working now.

stefanhelzle0001
Brainy
Mar 12, 2024 2:22 PM UTC

Keep in mind that this might be a security issue. Giving access to everybody is generally no good idea. Even if I just suggested it.