Questions tagged [external-services]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 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,429
0 votes
0 answers
35 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
0 votes
1 answer
51 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
350 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
39 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
86 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
82 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
0 votes
0 answers
77 views

Unable to access nested array in External Service response in Flow

I'm sending a request to the OpenAI API to return the sentiment based on the subject and description on a Case. I'm able to send the request successfully, and I get a 200 response, but I can't get to ...
Rick's user avatar
  • 21
1 vote
1 answer
103 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
0 votes
0 answers
21 views

Adding/Editing External Services Unusually Long Load Times?

I am new to Salesforce in general, so apologies if this is not a good question. I have setup within Salesforce and External Credential and Named Credential following the documentation. Although, once ...
RSIPES's user avatar
  • 1
0 votes
1 answer
243 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,465
0 votes
1 answer
130 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
470 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
140 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
0 votes
0 answers
85 views

Flow External Service Sometimes Failing With 401 Error

I'm fairly new to Salesforce Dev so please be patient with me. I've encountered an issue recently in which my External Service will sometimes fail respond with a 401 error. The External Service was ...
ABridgens's user avatar
2 votes
0 answers
569 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
1 vote
2 answers
814 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
0 votes
0 answers
82 views

Flow + External Service Failing with "The URI is invalid"

Summary: My POST operation fails, but my GET operation works. Details: I have successfully created an External service, using an OpenAPI API Spec with 3 endpoints. No auth is required. 3 endpoints ...
eyewell's user avatar
  • 151
1 vote
0 answers
295 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
374 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
439 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
2k 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,067
0 votes
0 answers
220 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,537
0 votes
1 answer
415 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,537
1 vote
0 answers
2k 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
152 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
210 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
373 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
550 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,537
0 votes
3 answers
586 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
141 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
44 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
1k 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
155 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
660 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,465
0 votes
1 answer
842 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
40 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,537
2 votes
1 answer
1k 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
2 votes
1 answer
667 views

Using JWT As authentication Protocol in Named Credentials for External Service

As a part of my project work, I need to connect to Azure Logic App via External Service in Salesforce. I know the prerequisite is to create Named Credentials first. I have chosen following in setting ...
Neha Chandra's user avatar
0 votes
0 answers
204 views

Previously Working Flow Suddenly Stopped Working

I have a Lightning Component flow that used a very simple external service. It uses basic auth and calls a web service. This was working fine until today when it suddenly stopped working. The web ...
jle's user avatar
  • 121
1 vote
1 answer
852 views

External Services - Array as parameter, unable to set the input to the Action on a Flow

I'm using external services to do a Callout and my input parameter is an array. I'm having trouble passing a collection variable as an input to the Action on a Flow. I imported the following Service ...
Elena Schwarzböck's user avatar
0 votes
0 answers
89 views

External Service is encoding @ symbol when making callout - how to get around this?

I am running into an issue with an external service that involved sending an email address in the callout URI. The API I am calling is this one: https://developer.everest.validity.com/#bc0f96ba-bf72-...
Ben's user avatar
  • 850
2 votes
1 answer
62 views

JSON Deserializing List Issue

We have been receiving JSON updates from one of our third parties for updates on deliveries, and they bulkify them in batches of up to 100 updates (example below). { "item": [ { &...
KarlLivesey's user avatar
0 votes
1 answer
2k views

How Do You Get an Empty Response Body Using Declarative External Services

Note: This is for declarative External Services. We are not writing Apex but using the UI and Salesforce generates the Apex classes. I need to include this until the name of this is changed by SFDC ...
ddeve's user avatar
  • 1,537
2 votes
1 answer
163 views

External Service call in a Visual Flow from Guest User

I have created a Visual Flow in Salesforce that performs an action that calls a configured External Service. The flow correctly works in the debug mode (I am logged as system admin). On the other hand,...
Silvia's user avatar
  • 21
0 votes
1 answer
888 views

External Service - Parsing XML/JSON

I am trying to implement an integration with a third-party system to Insert Products into Salesforce. I have created the External Service, consumed the schema, and was also able to make a call to the ...
SFDCLearner's user avatar
0 votes
0 answers
37 views

Techniques for managing integration that uses data from two objects which can be updated independently or together

We have an integration that pushes name, title, manager, and a few other fields from our HR system (a managed package on force.com) to a custom c# endpoint that updates active directory. Name and ...
gorav's user avatar
  • 4,465
0 votes
0 answers
121 views

How does Salesforce "external services" manage CORS?

I start by testing calling a REST API from Postman : this works. I then set up a Salesforce "External Service" and call the same service from a Flow : this works. Then I create a LWC ...
altius_rup's user avatar
4 votes
1 answer
432 views

UTF-8 characters garbled when using Flow External Services POST

Overview Working on a simple integration using "external services" to POST to a custom endpoint. Discovered that all UTF-8 characters, including many common currency symbols, are coming ...
gorav's user avatar
  • 4,465
0 votes
0 answers
32 views

Pulling the recipient scores from an external API using automation just before sending in SFMC?

I am considering pulling an audience in Marketing Cloud in real-time from an external (REST) API, directly before a send-out. I know that this is technically possible to pull out using a script ...
Ivan Dobrić's user avatar