function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tanner WellsTanner Wells 

Message could not be processed and ended up in dead message queue

We have two future callouts (one via an APEX trigger and another via scheduled apex) that are sporadically failing and returning the 'Message could not be processed and ended up in dead message queue' message. There are minimal SOQL queries for both callouts. I have not been able to reproduce the error to gain insight via the debug log. The debug log notes that the processes are only taking about 2 seconds. I've contacting the web service provider and they have not noted any issues with their webservice responses times. Any idea where this error could be coming from? 
SonamSonam (Salesforce Developers) 
I understand there are minimal queries, however, if they are taking more time to process - this might be leading to the error message.