I have a Queueable class that performs a single callout. When it executes, it generates this error:
HttpCallout.TooManyCalloutsException: Too many callouts requested vs SFDC Limit: 0
public class MyQueueable implements System.Queueable{
public void execute(QueueableContext qc) {
system.debug('callout limits='+ Limits.getLimitCallouts()); // <= displays 0
... do a callout here
}
}
- How can the SFDC callout limit be zero?
- Where is this documented?
- How do I resolve this?