Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Not authorized to delete instance DATA-CORR-PUSHNOTIFICATION

SA-77593

Summary



Error messages are generated in the log which state that the user is not authorized to delete push notifications.


Error Messages



ERROR - You are not authorized to delete instance DATA-CORR-PUSHNOTIFICATION CCC6CCC4-C370-4C7C-9CCC-5764C26C318C of class Data-Corr-PushNotification;com.pega.pegarules.pub.database.AuthorizationException: You are not authorized to delete instance DATA-CORR-PUSHNOTIFICATION CCC6AEC4-E370-4A7C-9FBB-5764B26D318B; 
at com.pega.pegarules.pub.database.AuthorizationException.createCannotDeleteException(AuthorizationException.java:280) ~[prpublic.jar:?];
at com.pega.pegarules.data.internal.access.Deleter.delete(Deleter.java:694) ~[prprivate.jar:?];
at com.pega.pegarules.data.internal.access.DatabaseImpl.delete(DatabaseImpl.java:2896) ~[prprivate.jar:?]; 
at com.pegarules.generated.activity.ra_action_send_9f5e6ec22a8a6862f8d76e5d9b7b48de.step5_circum0(ra_action_send_9f5e6ec22a8a6862f8d76e5d9b7b48de.java:483) ~[?:?];
at com.pegarules.generated.activity.ra_action_send_9f5e6ec22a8a6862f8d76e5d9b7b48de.perform(ra_action_send_9f5e6ec22a8a6862f8d76e5d9b7b48de.java:138) ~[?:?]; 
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3597) ~[prprivate.jar:?]; 
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:786) ~[prprivate.jar:?]; 
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:655) ~[prprivate.jar:?]; 
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1055) ~[prprivate.jar:?]; 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1327) ~[prprivate.jar:?]; 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1075) ~[prprivate.jar:?]; 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:957) ~[prprivate.jar:?];
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:761) ~[prprivate.jar:?]; 
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991) ~[prjsr166java6-3.0.jar:?]; 
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532) ~[prjsr166java6-3.0.jar:?]; 
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191];



Steps to Reproduce



Not Applicable


Root Cause



An issue in the custom application code or rules.
The batch requestor used to process push notifications did not have the Delete access to the DATA-CORR-PUSHNOTIFICATION class.


Resolution



Perform the following local-change:

Grant the batch requestor's access group the ability to delete DATA-CORR-PUSHNOTIFICATION instances.

Published August 19, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us