4
votes
Queueable HttpCallout.TooManyCalloutsException: Too many callouts requested vs SFDC Limit: 0
Posting this as Q&A because if you actually Google (as of this writing):
"HttpCallout.TooManyCalloutsException: Too many callouts requested vs SFDC Limit: 0"
you don't get any matches.
...
2
votes
Accepted
Flow -> Apex -> Salesforce REST API: why "Unauthorized endpoint"?
Screen flows run from a slightly different domain than the org's canonical domain, and so you have to be careful about how you get the URL for the org.
Make sure you are getting the URL for the org ...
2
votes
Accepted
Named Credential - using a merge field
Named Credential acts as a runtime proxy. The proxy receives your HTTP request then searches its body or headers for the merge field as a literal string. If NC doesn't find the field, it won't ...
2
votes
How to intercept the SOAP Request/Response Made from Salesforce or received in Salesforce?
The Salesforce solution:
Create an endpoint at https://beeceptor.com/ and leave this browser
tab open.
Add https://beeceptor.com/ as a new remote site in your org at
Settings | Security Controls | ...
1
vote
Is Apex Callout chaining from Javascript controller using Async/await or Promise possible?
There's no concern there. As long as each callout occurs before the DML in each Apex transaction, you'll be fine. For example, you can write your logic like this:
let result1 = await apexMethod1();
...
1
vote
Accepted
"Variable does not exist" error where variable is a class does exist
Most probably you have an error inside IntegrationUtilities class and it's not compiled hence cannot be deployed to the org and cannot be referenced by another class.
My advice would be to push/deploy ...
1
vote
Accepted
Apex Class CallOut
First of all, have you considered using an External Service, instead? External Services allow you to make direct API calls to other servers without any direct Apex code. Set up an Authorization ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
callout × 1184apex × 720
rest-api × 123
unit-test × 120
future × 97
trigger × 96
integration × 93
webservices × 91
httprequest × 89
batch × 87
json × 58
apexrest × 52
httpcalloutmock × 52
rest × 50
soap × 47
api × 45
namedcredentials × 43
visualforce × 37
exception × 35
scheduled-apex × 34
http × 34
asynchronous × 29
governorlimits × 27
wsdl2apex × 26
code-coverage × 25