"Could not send Message" error with Anonymous Apex
Issue #1112
resolved
I was able to successfully run some anonymous apex code against one connection. I changed to a different connection and received the error "Could not send Message". Received the same error against a third connection. All three connections test ok and otherwise work fine. The anonymous apex was 179 lines of code.
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Feel free to reopen if enabling that connection setting doesn't resolve the issue for you.
- Log in to comment
Here's the issue, Cary:
In the connection settings there's a checkbox labeled Enable workaround for HTTP 411 issue. Just check that for these connections and you'll be good to go. I've still never gotten a good answer from Salesforce as to why/when an org decides that it needs chunked data vs. not.