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 [api]

An application programming interface (API) is a specification intended to be used as an interface by software components to communicate with each other.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Why recordTypeVisibilities is an empty array in response to /services/data/{version}/tooling/sobjects/Profile/{profile.id}

I have configured several RecordTypes for Account entity and those show up under certain profile: I am using super user when placing a call: /services/data/{version}/tooling/sobjects/Profile/{profile....
Ihor M.'s user avatar
  • 111
0 votes
0 answers
23 views

Removing \n from HTML asset retrieved via an API

I'm trying to use cloud page to use API to retrieve the HTML email to display on cloud page. I can get the API to work, but it adds '\n' and \ to my html code that was retrieved, which breaks the ...
ands8810's user avatar
-2 votes
0 answers
20 views

Use Access Token to login to Salesforce UI

I get an Access Token for each user using User/Password flow in a trial Production SF tenant. I cannot access the API nor I want to. I only need to use the Access Token so I can redirect the user to ...
user149829's user avatar
1 vote
1 answer
31 views

How to send form-data to WebToLead or WebToCase APIs?

Instead of the usual approach of implementing web-to-lead, I wanted to experiment with doing a POST to the web-to-lead endpoint itself that one can find via the Web-to-Lead Setup option in Salesforce. ...
Andy Hitchings's user avatar
1 vote
0 answers
53 views

How to migrate successfully from legacy FCM APIs to HTTP v1 in apex?

I have a working functionality for sending push notifications via Firebase (FCM) from apex. But it is legacy now and I need to upgrade to HTTP v1. Based on the official documentation and the few ...
unique user's user avatar
0 votes
0 answers
32 views

simple_salesforce bulk insert function causing a disconnect error

sf.bulk.object_name.insert(list_of_records,batch_size=100,use_serial=True) I'm using simple_salesforce to bulk insert records but once in a while it causes this error. ConnectionError: ('Connection ...
acs's user avatar
  • 1
-1 votes
1 answer
33 views

Adding new prospect to a list using API

I am writing some automation in Python to push prospects into a Pardot list. I thought the list endpoint would help me acheive this. But, it only gets the metadata of the list. Is there any endpoint ...
Aragorn Vale's user avatar
1 vote
0 answers
34 views

Unable to make callouts after Salesforce Instance Refresh. Unable to tunnel through proxy. Proxy returns "HTTP/1.1 503 Service Unavailable"

Over the weekend, Salesforce has refreshed our org instance AP53. Since then our integration with Equifax is not working. Whenever we try to make a callout to the Equifax servers, we get the following ...
Mohit Reddy's user avatar
0 votes
0 answers
26 views

How to Get Session Id for Front Door URL into Scratch Org via API?

After successfully creating a scratch org via API, I am now exploring ways to streamline admin access to this org. My goal is to create a URL that, when clicked, will automatically log the user into ...
Austin's user avatar
  • 11
0 votes
0 answers
91 views

Authenticated User "Unable to tunnel through Proxy..."

I have a connection between a Dev Box and a Full Box instance. I set up this way: Fullbox - Connected App Dev Box --> Named Credentials Uses Auth provider with login flow on save. --> Auth. ...
thinker's user avatar
  • 1,440
-1 votes
0 answers
34 views

Allow users to add attachments in SFMC cloud page and attach / upload to salescloud contact

I have a cloud page / web form that includes a way for a site visitor to upload a file. Now this file should be stored in salesforce as an attachment on the contact itself and not only in content ...
David R's user avatar
0 votes
0 answers
41 views

How to run ApexBatch with Client Credentials flow

I want to run an ApexBatch that exists in a Salesforce organization from a C# program. [@RestResource(urlMapping='/BatchAction/*') Apex specified is ready to go. Also the connection application is ...
Ta-kkun's user avatar
  • 11
0 votes
1 answer
25 views

How to retrieve the XML Definition of flow provided I have the Id of the flow?

I have used the following query in postman SELECT Id, ApiName,Label, ProcessType From FlowDefinitionView Where ProcessType = 'flow' result has given me the Ids of all the flows whose processTypes are ...
RishabhVerma's user avatar
0 votes
1 answer
21 views

Updating ProfileRecordTypeVisibility using updateMetadata API

I am trying to selectively update the record type visibility of a particular record type for a particular profile. Would the updateMetadata api be able to do this? https://developer.salesforce.com/...
jacksparrow007's user avatar
0 votes
0 answers
31 views

Create & Send EmailMessage through REST API

I am using the REST API to create an EmailMessage related to a Case. My goal is for this Email to be sent to the customer as if it was sent by a rep directly from the Salesforce UI, with all of the ...
Morgan Marchese's user avatar
0 votes
0 answers
33 views

SSJS SFMC -> OPEN AI ASSISTANT GET REQUEST PROBLEM

I'm trying to make an API call to OpenAI, specifically to its assistant. I've already created the assistant and have the ID and updated API key. I have an example code in SSJS that works well. I'm ...
Goon Lopez's user avatar
0 votes
1 answer
69 views

Best way to update thousands of records with callouts in Salesforce

We import orders into a custom object in salesforce (goods_out__c). I'd like to update all our historic records, and new ones being created, with batch apex to populate information from an external ...
n34_panda's user avatar
  • 619
0 votes
0 answers
36 views

INVALID_CROSS_REFERENCE_KEY when upserting a custom object record via API

I've written a new API in GoLang to handle object syncs from our proprietary software to sync with the records in Salesforce following the steps to "Upsert a Record" in Salesforce on the ...
palmPixel's user avatar
0 votes
0 answers
42 views

About ApexBatch Validation with REST API

The purpose of this validation is to execute a Salesforce REST from an external system and an Apex batch from an external system. The REST API validation displayed the following error. "error&...
Ta-kkun's user avatar
  • 11
1 vote
0 answers
46 views

Salesforce SOAP API Query Operation - Invalid Session ID Error

I am attempting to perform a SOAP query operation against the Salesforce SOAP API to retrieve data from the ConnectedApplication object. However, each time I try to execute the query, I receive an &...
mysh's user avatar
  • 11
0 votes
0 answers
44 views

Salesforce tooling API. Add new value for picklist (depending on the record type)

Situation: There are 11 picklists on the Account, the values of which vary depending on the record type The API request returns me 5 picklists how can I addnew picklist value for record type from ...
Sergey Chernov's user avatar
1 vote
1 answer
51 views

Create Named Credential with authentication and user id in url parameters

I have an endpoint with the following format: https://test.com/api?salesforce=123&agent=123 Do Named Credentials allow me to store the salesforce value in the Named Credentials associated External ...
Tyler Zika's user avatar
  • 2,882
1 vote
0 answers
42 views

Issue with logEmailOnSend on the emailSimple api route

I'm trying to login the email with the logEmailOnSend option on true and a recipient id. When the logEmailOnSend is turn off everything works fine. Maybe the relatedRecordId isn't the right one but i ...
Titouan's user avatar
  • 21
2 votes
1 answer
211 views

System.CalloutException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 503 Service Unavailable

I'm perfoming a HTTP GET callout to an external production site URL , using Postman I get the response. However, while making callout from Salesforce, it gives the following error: System....
Manoj's user avatar
  • 21
0 votes
1 answer
33 views

Retrieve log from API calls from external system to SFMC

Is there a way to have log on the API calls made to insert data in SFMC's data extension from external system ? We do have a daily call which integrate data to a data extension and I would like to ...
LT888's user avatar
  • 29
1 vote
0 answers
29 views

'WebhookUtility' for job id '707Uo00000Krifj' : Callout loop not allowed

I have created this apex code for calling out to the client portal. it works fine, when test it on sandbox. But in Production it gives out error time to time : Callout loop not allowed This is the ...
Twopir Support's user avatar
2 votes
1 answer
31 views

Permission needed to update Asset

I am trying to update category ID for Template-based email type Content. But getting permission error when tryin to update via API. What permission is needed to update the content?
SKing's user avatar
  • 21
-1 votes
1 answer
65 views

Unrecognized base64 character

I am getting the logs (2737691557)|FATAL_ERROR|System.StringException: Unrecognized base64 character: { (System Code) Class.docusignGenAndSendAPI.gen_and_convert: line 68, column 1 (2737703234)|...
TTT's user avatar
  • 11
2 votes
1 answer
495 views

404 URL No Longer Exists with REST API Call

When submitting a GET request with either Postman or boomi, I receive the following 404 error. ‘You have attempted to reach a URL that no longer exists on salesforce.com’ In either tool, I can get the ...
cmims's user avatar
  • 23
1 vote
0 answers
45 views

What am I missing or need to update in my Plaid Integration code?

I am currently working on updating a class for integration in Salesforce, in this case, an API call from the banking (I think) service called Plaid. The company already integrated this app, but right ...
Luis Escalante's user avatar
2 votes
1 answer
62 views

Trying to connect to Salesforce with PubSub API's gRPC, but on subscribe topic getting error-code: "sfdc.platform.eventbus.grpc.topic.meta.permission"

I'm trying to connect to Salesforce with gRPC from NodeJS environment using https://github.com/pozil/pub-sub-api-node-client/ package. The connection works, but I'm getting the following error when I ...
Hunor's user avatar
  • 31
3 votes
1 answer
48 views

Store Lightning Dashboard as PNG in Files

The use case here is that I need to fetch the image/png of Lightning Dashboard and store it in Files via Apex So first, I try to do a callout to Dashboards REST API - Http http = new Http(); ...
Aditya M's user avatar
  • 420
0 votes
1 answer
73 views

Creating a custom rest API in marketing cloud

I am new in Marketing cloud any help would be appreciated. I need to create multiple custom APIs with Get and Post. I have found some documents on using a landing page and a script inside that will ...
Rafael's user avatar
  • 3
0 votes
0 answers
54 views

Sforce-Auto-Assign header not having any apparent effect on assignment

I can't get the Sforce-Auto-Assign header to kick in when I'm creating a new Case: resp = self.session.post(f'https://domain.my.salesforce.com/services/data/v60.0/sobjects/Case/', json=data, ...
user145214's user avatar
0 votes
1 answer
22 views

Create service in SF for non-SF resources to call

I am new to this so bear with me. Ask: I am looking to write code/create a service in SF that I can provide another team outside of SF to call real-time in order to fetch information from two specific ...
DigitalWoman's user avatar
0 votes
0 answers
50 views

Google map with API key not allowing marker change

I'm currentlly working on a LWC to open up a google map. This map receives some coordinates that come from another integration, and then the final user has to be able to move the marker to the exact ...
Renzo Gambino Fornasin's user avatar
0 votes
0 answers
43 views

How to put external credentials salesforces api token access

I'm new to Salesforce and my task is to create a flow that makes an HTTP callout to a private API. To access the API, one needs to create an account and obtain a token which is valid for 7 days. I've ...
LigthFire's user avatar
0 votes
1 answer
23 views

Inbound and Outbound calls question

Can we make an outbound REST SYNC call when receiving an inbound REST call? External system 1 calls Salesforce Salesforce calls External System 2 Salesforce returns to external system 1 the answer of ...
stackusiastic's user avatar
0 votes
1 answer
75 views

How to update subscriber status of a subscriber in all subscribers present in a child BU using landing page present in other child BU?

I have created a SOAP envelope to invoke all subscribers present in a child Business Unit (BU) from another child BU using a landing page. By utilizing WS Proxy in my landing page located in CHILD BU ...
Prithvi Raj's user avatar
0 votes
2 answers
99 views

Data insertion failed with salesforce inspector

I don't understand why I get this error INVALID_CROSS_REFERENCE_KEY: Record Type ID: this ID value isn't valid for the user: 0121t0000001qxAAAQ [RecordTypeId] I want to insert field numbers in a '...
Alain's user avatar
  • 9
0 votes
1 answer
65 views

How to Contact delete (All contacts) in Child BU

Is there a way to do contact delete in Child BU? (All contacts) I want to delete the Contact in bulk. All marketing activities (Journey, e-mail sending, etc.) take place in Child BU. I would like to ...
Seungil Shin's user avatar
0 votes
1 answer
65 views

How to load (image) file using REST API using Acces Token in authorization Bearer?

Using an access token I can successfully receive Query responses. Now I would like to load an (image) file URL using the same method, but it returns a 302 redirect with JavaScript code to redirect (I ...
Z0q's user avatar
  • 59
-1 votes
1 answer
31 views

How to get Automation connected to a Journey API response?

I just want to ask what Id should I use or key value pair that I need to use to get the connected automation from my journey? I am using this endpoint .rest.marketingcloudapis.com/interaction/v1/...
Student's user avatar
  • 11
0 votes
1 answer
72 views

Workaround for Offset limitation

I am currently working on setting up REST service in salesforce where in consumer can pass few parameters based on which there is logic to build and combine SOQL results and send in response Sometimes ...
sf_user's user avatar
  • 2,260
0 votes
0 answers
50 views

Setup Name Credential with External Credentials

I'm starting developing on Salesforce, and I've to send some data to one of our client api. The client gave some access details to connect to their webapi. It looks like this : url POST https://...
kabrice's user avatar
  • 129
1 vote
1 answer
61 views

Calling an External API using AMPscript in SMS Asset. Unable to reference Columns from Data Extension in Payload

I have the following codesnippet which I reference as content block by key in my SMS Asset. Unfortunately I am not able to get the price from the API. How do I make the payload dynamic such that it ...
aryashah2k's user avatar
0 votes
1 answer
108 views

Error returned executing composite API from Postman

I am using POstman to execute composite API. Got the sample request from this link - https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_composite_record_manipulation.htm ...
SfdcBat's user avatar
  • 4,811
0 votes
0 answers
30 views

API for querying the "From Address Management" , is it possible to add email filter?

We're querying the "From Address Management" records so as give to option to verify the email address accordingly. However this is taking sometimes more longer than expected and the worry ...
Jimmy Vaswani's user avatar
1 vote
1 answer
62 views

Error during saving FeedItem with type ContentPost using API above 35

I am trying to save FeedItem with attachments. In that case I set type of FeedItem to ContentPost. During saving FeedItem I am getting 2 errors of FIELD_INTEGRITY_EXCEPTION type: ContentFileName is a ...
Mateusz Hernik's user avatar
0 votes
0 answers
24 views

Is Notification Center available for web?

The notification center is a feature that seems to exist only for mobile. Am I wrong? From what I read, the only way to get a notification center on the web is to call directly the API (https://...
Nastasia's user avatar

1
2 3 4 5
51