Skip to main content

Questions tagged [callout]

"HTTP Callouts" connect to a remote web server from Apex code.

0 votes
0 answers
46 views

I have an API that I am calling via External Services that accepts a request body in a DELETE endpoint. The call works fine in Postman, but when hitting it from Salesforce, I get this error: "...
Kyle J V's user avatar
  • 295
-2 votes
1 answer
54 views

Is there any apex statement to find timeout used and left out of 120 seconds? I can't find any method in Limits apex class to return that. https://developer.salesforce.com/docs/atlas.en-us.apexref....
Patlatus's user avatar
  • 18.8k
1 vote
1 answer
103 views

I'm using the new (as far as I can tell, as of Spring '25) system for creating Named Credentials for OAuth-based callouts. I'm trying to create an integration with Google's Drive API. I set up the ...
Dylan Bowman's user avatar
-1 votes
1 answer
81 views

I have an SMS sending requirement, which involves a mix of DML and callouts. I know I can't do DML insert/update before a callout, and I can't do the callout first in my case. Explanation below: SMS ...
Irene's user avatar
  • 2,005
-1 votes
1 answer
78 views

So I have a platform event for which I have created a trigger. I am trying to make a callout, but I am getting an error: System.CalloutException: Callout from triggers are currently not supported I ...
nica's user avatar
  • 1,402
0 votes
0 answers
25 views

Below is the code I am using to generate and Authorization Token. The code is working when I replace the variables using External Credentials values with hard coded values - clientId, clientSecret, ...
Jeff Callahan's user avatar
0 votes
0 answers
181 views

what's the purpose of connecting named credentials to profiles and permission sets? I know Salesforce introduced Integration User Licenses, but these seem to be for API Only users that's are setup for ...
jkdev's user avatar
  • 1
1 vote
0 answers
64 views

I'm having an issue where I cannot approve my External Credential w/ Slack. Create External Credential w/ Authentication Protocol: OAuth 2.0 Scope: chat:write incoming-webhook Auth Flow: Browser ...
Matt's user avatar
  • 11
0 votes
1 answer
114 views

I am trying to create an object using a callout to salesforce standard api, even though the user has sufficient api permissions I get error 401 This session is not valid for use with the REST API. ...
dshrikant_bfl's user avatar
0 votes
0 answers
53 views

I'm trying to send a message from Salesforce to AWS SQS using Apex. However, I am encountering an error during the callout. Could someone help me figure out what I'm missing? ERROR: Status: Forbidden ...
Vignesh Mahalingam's user avatar
1 vote
0 answers
288 views

I have created an External Client App and enabled it for the Client Credentials Flow. I have also assigned an admin user as the "Client Credential User." This user's profile has IP ...
Barry Allen's user avatar
0 votes
0 answers
84 views

Hi Im trying to send a POST request to an endpoint from a salesforce flow, but the response of the external endpoint comes in this format: { "1FDUF7GT7ABV74894": { "make":"...
Samuel Lopez's user avatar
0 votes
0 answers
49 views

I have an api key for callouts to an external service which I have no control over and there is no concept of scopes. To successfully callout to the service the api key needs to go into a header with ...
SandwichSpaceDragon's user avatar
1 vote
0 answers
168 views

I have been using the Transform element to well... transform a json response into records. The field mapping and all makes sense. I have reviewed the documentation on this element and understand the ...
Miguel Diaz's user avatar
0 votes
0 answers
52 views

i need to make an Apex callout from a trigger. I am asking if there are other method annotation options than @future(callout=true) to allow the trigger to run my callout method ? @AuraEnabled(...
fredk's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
89