Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [external-services]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
38 views

Using External Services with an API that Returns No Body or an Object

I have set up an integration using External Services and this is mainly working as expected. Here is the full schema One of the GET requests returns an object when valid data is found (based on ...
nathanvoller's user avatar
0 votes
0 answers
21 views

Salesforce External service generated Dynamic Apex classes has _set attribute which is rejected by target endpoint [duplicate]

Facing the same issue as highlighted in External services generated Dynamic Apex has _set attribute which is rejected by target endpoint. i.e. the when I register an external service with an Open API ...
Alokste's user avatar
0 votes
0 answers
23 views

External Service: Not able to select correct Apex Class in Variable-Type "Apex-Defined"

I create a flow in Salesforce and use the element Action to call an operation of an External Service. The External Service was created using an JSON OpenAPI Spec. 3 dynamic Apex Classes were created: ...
Frank Kern's user avatar
0 votes
0 answers
32 views

Discriminator support in Salesforce External Service

I have an ExternalService in Salesforce from an OpenAPI 3.0 spec. We have multiple object types that we can get which are all nested under the same path for the GET request (eg. ExampleSubObject1 and ...
Brandon Shute's user avatar
0 votes
0 answers
51 views

External Service with nested objects - How do you set input to the Action in Flow

I setup an external service to execute a Post callout through a Flow Action. The problem is I can't set the input in the action to an Apex-Defined variable which has two variables nested in it. I have ...
DevAndy's user avatar
0 votes
0 answers
32 views

O Data Service - How to Auto sync data from other system to SFDC external objects?

From Odata services, I've connected to SAP system. It automatically created an external object and fields based on the table in SAP in SFDC and I created an indirect lookup to the case. I can see the ...
Surya's user avatar
  • 11
2 votes
0 answers
53 views

When trying to call external API, keep having to re-autheticate despite receiveing Refresh Token from API

I have an application which sits in Salesforce. The application authenticates using the web browser flow, authenticating against an external API. Upon authentication, the external API returns an ...
Faith's user avatar
  • 21
0 votes
0 answers
40 views

Sending data To external services using Record-Triggerd

I have a Record Trigger Flow in Salesforce responsible for sending data to external services. The key requirement is for this flow to trigger only once, specifically when there's a change in the Tag ...
user131546's user avatar
-2 votes
1 answer
630 views

Error 400 and Error 401

good day to all the users This is my issue, i have 2 environments SO this environments need to send data from sandbox to an app I insert the data with anonymous Window For the 1 environment when I ...
Moon's user avatar
  • 13
0 votes
0 answers
27 views

Access values in the header, using the Flow external services actions

I'm trying to figure out if it is possible to use the flow external services components and retrieve values that are passed back in the response header. Specifically, the Campaign Monitor ...
Thomas Gunn's user avatar
1 vote
0 answers
129 views

External Credential Flow (Existing_link)

Struggeling to Authenticate to Microsoft AD With Open ID Connect using Named Credentials/External Credentials. First of all: This approach works on all Salesforce Instances, now I have this issue on a ...
TheShadow's user avatar
  • 286
1 vote
1 answer
108 views

External services generated Dynamic Apex has _set attribute which is rejected by target endpoint

Trying to use External Services to process a list of Objects. YAML JSON attribute looks like below, "FirstName": { "type": "string", ...
Pasan Eeriyagama's user avatar
0 votes
1 answer
94 views

Can We Dynamically Create Accept Header In External Credentials

We have an External Service which uses different accept headers based on the operation such as: Operation1 - application/op1+json Operation2 - application/op2+json Operation3 - application/op3+json ...
ddeve's user avatar
  • 1,606
0 votes
0 answers
133 views

How to specify audience for OAuth token in SF when configuring auth for an Azure protected API endpoint hosting external data?

I have an external data source hosted in Azure which is an OData API endpoint. Everything works well with auth disabled. I created an application registration in Azure AD to represent the API and ...
Josh's user avatar
  • 101
0 votes
1 answer
133 views

Define an External Service that accepts application/xml

This is similar to How to use HTTP Callout action in Flow with body of Content-Type: application/x-www-form-urlencoded I am trying to create an HTTP callout for a flow. The service I am calling is ...
user1821431's user avatar
0 votes
1 answer
90 views

Convert Dynamic Apex classes to String

We are thinking of using External Services to integrate with an external application. Due to the nature of the application, we want to create logging records in Salesforce (creating a Log object to ...
xouns's user avatar
  • 135
0 votes
0 answers
321 views

. Can't perform callout when resuming a flow or inside an Apex Queueable

Currently, I've setup a scheduled flow to make an external callout. If i debug manually it's working successfully because it's firing for a single record. But if i scheduled the flow I'm getting below ...
Pavan tej's user avatar
  • 1,460
0 votes
0 answers
329 views

OAuth Client Credentials flow for external services - token expiration

I'm trying to connect to Marketo REST API via an external service leveraged in a flow, using the client credentials external credential and a named credential. Here is Marketo's doc on authentication ...
grantspants's user avatar
1 vote
1 answer
257 views

Invocable Method to return External Service data type

Ideally, we will create an External Service based on the API Schema and use it in Flows. For some reason, when we do callouts in the Flow, the API cannot parse the Authorization header correctly, ...
codefish's user avatar
6 votes
2 answers
398 views

Zap scan commercial APIs used in AppExchange apps?

My Managed package, which will soon be submitted for Security Review to be listed on the AppExchange, uses two commercial REST APIs (one of them is the Open AI API for GPT4). As someone who submitted ...
Robert Sösemann's user avatar
0 votes
1 answer
87 views

Flow does not registed selection of picklist in flow when run as site guest user in embedded service

I inserted an embedded service deployment into an external site that launches a flow. I have a picklist field that my "support Site Guest User" cannot seem to fill in for the flow. Here is ...
Matthew Metros's user avatar
1 vote
1 answer
175 views

Code Coverage requirements for External Services and Flows in Unlocked Packages

I created an unlocked Salesforce package that contains an External Service and an Inactive Autolaunched Flow that calls methods in the External Service. The package does not contain any Apex classes ...
Mary Hamlin's user avatar
0 votes
1 answer
127 views

External Service to create user in Azure returns Bad Request

Okay here is a tough one. I am playing around with External Services to connect to the Azure (Microsoft Graph) API. I can confirm that my named credential is working and I am successful in querying ...
Jannis Bott's user avatar
1 vote
1 answer
198 views

Integration properties which has a underscore (_) in the name is not parsed correctly with external services

I am using external service for making a getting call and getting results in JSON from a AZURE server. The results are coming back correctly into salesforce by using external service where i imported ...
Anil Shivaraj's user avatar
1 vote
1 answer
518 views

External Services - Accessing nested object in response

I'm testing out using external services with the OFAC-API.com I'm successfully using Search API v3 to search for a fella in Russia. I'm having trouble parsing information out of the response, as its ...
gorav's user avatar
  • 4,527
0 votes
1 answer
202 views

Setting up per user JWT claim Named Credential

I'm trying to setup a per-user JWT claim as per the documentation here the issue is it specifies Subject of the token (the user). The subject is a string when the identity type is named principal, ...
KarlLivesey's user avatar
-1 votes
4 answers
906 views

Calling External API before the record is saved

I want to call an external service whenever there's an update in a record from the UI for specific attributes. And stop the update if the external call failed. I was thinking if it's possible to do ...
ashwini571's user avatar
1 vote
0 answers
240 views

External Services - Timeout Limit

I am working on an integration where I am using external services and a screen flow to call an external API and display the result to the user. In Apex you can set the timeout of an API call to a ...
sfdx_guy17's user avatar
3 votes
1 answer
877 views

Guest User access to External Credentials

I'm trying to make a callout from an unauthenticated experience page using an External Credential but I get this error. The callout couldn't access the endpoint. You might not have the required ...
jonny-harte's user avatar
2 votes
2 answers
2k views

How to set the requestBody parameter as an input variable for a flow tied to external services?

I am exploring options of moving from code based apex to 'flows' using 'external services'. The service basically takes 3 parameters: SSN, account number and VIN (optional) and gives back a boolean ...
Anil Shivaraj's user avatar
1 vote
0 answers
389 views

Call External Service from LWC using Apex

I am trying to invoke External Service using Apex from LWC, but I am receiving an error: System.InvalidParameterValueException: Invalid output parameter type Background: Using BankService External ...
Abhijit's user avatar
  • 11
1 vote
1 answer
566 views

Populate Flow picklist values by calling external API

I am working on a pretty challenging problem. I need to do this mostly declaratively so I used Lighting Flow and External Services. I built a simple screen flow as shown below: The issue is that I ...
user3688231's user avatar
0 votes
1 answer
670 views

Can't get External Service actions to work in Flow

So I'm trying to call an external API using a Flow, so I added everything I needed to get the connection set: auth provider, named credential and external service. So far so good, connection is ...
Nuno Donato's user avatar
9 votes
2 answers
3k views

What are: Dynamic Apex Classes in Setup > Apex Classes

What are Dynamic Apex Classes? They are in a Winter 23 preview org in: Setup > Apex Classes In a section called Dynamic Apex Classes and they have a description of: Dynamic Apex extends your ...
Robs's user avatar
  • 9,346
0 votes
0 answers
387 views

Change Mime Type Response From Text to JSON For Declarative External Services

OpenApi 2.0 or 3.0 declarative External Services used in Flow getting error Expected declared response media type application/json, but got text/plain; charset=UTF-8 for operation get. It appears 3rd ...
ddeve's user avatar
  • 1,606
0 votes
2 answers
950 views

Declarative External Service Suddenly Getting Media Type Response Error

Open API 2.0 schema used as Invocable Apex with Flow that has been working for six months. Two days ago we started getting an error on the 200 response. Expected declared response media type ...
ddeve's user avatar
  • 1,606
1 vote
0 answers
3k views

Flow - Set Apex defined Collection Values in Flow

I have used external services to create the apex classes for connection to an external service through api. The aim is to post value to the external service and I am struggling to set the values for ...
Dru Rattigan's user avatar
1 vote
1 answer
165 views

Security Review: Cloud Service uses and stores OAuth tokens

My customer runs a Cloud Service for many years, that connects with Salesforce orgs via OAuth flow and stores org tokens in its database. As this service wasn't on the AppExchange my customer did not ...
Robert Sösemann's user avatar
0 votes
1 answer
256 views

External Services - Nested object in response appears to be blank in Flow but is populated in Postman

There is already a question asking the same, however it is still not responded. I am using an external service and in the response, I am supposed to receive a nested object as per the following ...
Gabriel Serrano Salas's user avatar
5 votes
1 answer
520 views

External Service in a Managed Package Doesn't Work in Subscriber Orgs

I'm developing an api integration feature from Salesforce to an external web service in a managed package using External Service, Named Credential and Flow. The feature works in a packaging org but ...
Hiroki Yuda's user avatar
1 vote
0 answers
709 views

Is There Workaround for Using a Bearer Token as Authentication for Declarative Named Credential?

My OpenApi 3.0 schema requires just a bearer token as authentication. Salesforce declarative Named Credential does not offer this as option. When using Password Authentication with a dummy username I ...
ddeve's user avatar
  • 1,606
0 votes
3 answers
769 views

Import Mulesoft APIs with External Services - 301 Moved Permanently Response

I have been following the instructions provided in the official salesforce developer docs here regarding importing mulesoft apis using sfdc external services for use in a flow. I have followed the ...
FrankieDonkeyBrains's user avatar
1 vote
1 answer
203 views

sprinkledata: How to connect using Salesforce connector

This might be very specific to tool sprinkledata. But I have tried everything. Only these data needs to be filled in and I tried everything. On Server Location* : I tried Instance Name, test, whole ...
Nagendra Singh's user avatar
-2 votes
1 answer
89 views

Add two values that return from API

I'm going to be calling a REST endpoint to return back data for two datapoints into a lightning component in SF. This is only needed from a UI standpoint visually on the lightning component. This may ...
DigitalWoman's user avatar
0 votes
1 answer
2k views

Callout using External Services: Error 401: Unauthorized

The scenario is that want to send a simple JSON-message to a URI without any authentication. I want to achieve this without using code, so I am trying to use a combination of named credentials, ...
Corné van Klink's user avatar
5 votes
0 answers
212 views

Merging fields into Named Credentials for use with External Services and Flow

I have an external REST API with an OpenAPI definition that I'd like to call from Salesforce via External Services + Flow. The external REST service needs a lot of extra stuff in the header for ...
Sammy Schnor's user avatar
2 votes
0 answers
907 views

External Services : Unable to map response Error

I'm working on a flow that can search confluence using external services. I can search successfully via postman. I am able to hit confluence via external services and obtain data but the flow throws ...
gorav's user avatar
  • 4,527
0 votes
1 answer
1k views

How to Import lodash into org?

I'm new to lwc and I'm trying to import an external library - lodash. I tried some ways and none of them worked for me. I'm probably doing something wrong I didn't find any good tutorial that shows ...
Evyatar Menczer's user avatar
0 votes
1 answer
48 views

Declarative External Services 400 Error Possibly Because of Array of Text Inputs - How To Define

I have previously created many declarative External Services which work with Flow. Getting 400 UnknownOperationException error with this. Callout is working fine in Postman which is listed here: {&...
ddeve's user avatar
  • 1,606
2 votes
1 answer
2k views

What is the maximum size of files/attachment in salesforce that can be created by external systems

What is the maximum size of files/attachment can be created under an object record in salesforce by an external system? As per documentation its 2 GB for files and 25 MB for attachments. https://help....
anju vijayan's user avatar