• Joeri Veder
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi all,

we suddenly receive a System.CalloutException: Callout loop not allowed.
We read about this exception and it has no meaning in our case.
1. We get it from a method that callout to an external service we need.

Http http = new Http();
HttpResponse res = http.send(request);
2. It works when we call the method synced manner.
3. When on the other hand the method is called from a future that on turn was called from a trigger we get the exception.
4. It didn't happen at the beginning of week.
5. It doesn't happen in our dev org.

Anyone got something like this and overcome it?
Thanks,
Yishay