LinkedIn
Copied!

OPS0031: Email processing has failed because of an 'unsupported operation' exception

Pega Predictive Diagnostic Cloud™ (PDC) generates the OPS0031 event when an application cannot process inbound emails because of an unsupported operation exception.

Reason for the event

When an unsupported operation exception occurs while an application processes inbound emails, PDC generates an OPS0031 event and creates an EmailProcessing case. You can receive a notification for each occurrence of this event.

Example message text

[MSG][Caught unexpected PRException][STACK][com.pega.pegarules.pub.PRException: PRException
From: (unknown) 
 at com.pega.pegarules.integration.engine.internal.services.email.EmailServiceExecutor.extractMessageContent(EmailServiceExecutor.java:353)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailServiceExecutor.handleStandardRequest(EmailServiceExecutor.java:218)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailServiceExecutor.process(EmailServiceExecutor.java:116)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailActionImpl.execute(EmailActionImpl.java:130)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailPollerStrategyImpl.processEmails(EmailPollerStrategyImpl.java:262)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailPollerStrategyImpl.runOnce(EmailPollerStrategyImpl.java:153)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailPollerStrategyImpl.run(EmailPollerStrategyImpl.java:102)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.run_(EmailListener.java:535)
 at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:454)
 at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.UnsupportedOperationException
 at com.pega.platform.integrationcore.client.email.internal.javamail.JavaMailMIMEMessage.getContentAsMimeMessage(JavaMailMIMEMessage.java:163)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailMessageParser.readRequestDataPart(EmailMessageParser.java:169)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailMessageParser.parseEmailMessageData(EmailMessageParser.java:101)
 at com.pega.pegarules.integration.engine.internal.services.email.EmailServiceExecutor.extractMessageContent(EmailServiceExecutor.java:347)
 ... 9 more
]

Recommended next steps

To resolve 'unsupported operation' exceptions, contact email administrators and the application support team. If you are a Pega Cloud® Services client, contact Pega Support.

Suggest Edit

Related Content

Have a question? Get answers now.

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