Hot answers tagged

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. ...
user avatar
  • 62.2k
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 ...
user avatar
  • 156
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 ...
user avatar
  • 6,226
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 | ...
user avatar
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(); ...
user avatar
  • 433k
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 ...
user avatar
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 ...
user avatar
  • 433k

Only top scored, non community-wiki answers of a minimum length are eligible