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
17 views

Unable to update the event using REST API?

So basically, According to this, I can update my event using the key or the id of the event So I created an API using the REST API, it is created and used in a Journey, now, I want to update the name ...
user avatar
  • 156
0 votes
0 answers
22 views

Check for null values in API response [migrated]

I have an api, when it is the best rated movie returns values like [ { "movieId":"o1", "movie name":"Dory", "rating":"Best" } ] If ...
user avatar
  • 1
0 votes
1 answer
16 views

Send Marketing Cloud email out when RSS Feed updates

I have a working email that populates with the RSS feed code, but I am now wondering how can I automate this email to send out to its subscribers whenever there is a new post/article on the RSS xml. I ...
user avatar
  • 13
0 votes
1 answer
44 views

LWC @api is not working in experience builder while logged in as community user

the main problem i have with this, is that it works well when i'm editing builder as Admin, but when i try to log as specific user, the ID's are not passed within the LWC'c I will show on example: ...
user avatar
0 votes
2 answers
53 views

Scratch Org: How to increase API Usage limit (i.e. allowed number of API requests per 24 hours)

Is there any way to increase API Usage limit in scratch org? I cannot find any setting to do so via json config file (we can increase number of custom objects, apex code size limit etc., but nothing ...
user avatar
  • 2,793
-1 votes
0 answers
30 views

error while saving code [closed]

i am getting error in this line res.responseBody = Blob.valueOf(e.getMessage()) = resWrap.errorCode; error message: Expression cannot be assigned How can I resolve this error?
user avatar
0 votes
0 answers
25 views

Send a post request after an update

I'm trying to send a post request after an update from a record, and then is going to generate a link for the post request, I had the idea to create the post request after an insert using a trigger ...
user avatar
-3 votes
0 answers
20 views

Build behavioural data api from other app to SFMC [closed]

Build behavioural data api from othe rapp to SFMC
user avatar
0 votes
0 answers
29 views

Response Code 400 on Authorisation Start with REST API python

I am trying to use python to wor with the SalesForce API, and I've created all of my API keys, connected app with all permissions and everything, but when I make an authorisation call, I get response ...
user avatar
  • 1
0 votes
0 answers
38 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 ...
user avatar
0 votes
1 answer
44 views

How to trigger custom button by REST API call

I'm trying to achieve the following but can't seem to find a way to get it to work. On a custom Salesforce object, there is a custom button present in the UI. Clicking on this button triggers an ...
user avatar
  • 1
0 votes
0 answers
17 views

Salesforce API when will trigger fire on updating multiple dependant fields

I am updating multiple fields within a single sobjects/customobj__c Salesforce client Patch request. All these fields are on the same customobj__c object for a single record. I have say 2 fields in ...
user avatar
0 votes
0 answers
16 views

Package Drive Connect Install Failed

I'm having this problem while trying to install Drive Connect in my Sandbox env. Your request to install package "Drive Connect 2.85" was unsuccessful. None of the data or setup information ...
user avatar
0 votes
0 answers
33 views

Salesforce Barcode Scanner API

I would like to leverage the Barcode Scanner API in an LWC. What I would like to do is scan a Barcode that is encoded with the record Id of a custom object. When the Record Id is scanned I would ...
user avatar
0 votes
1 answer
29 views

SFMC SOAP API RetrieveRequest resulting in "An error has occurred and has been logged by our system."

I'm trying to get a list of query definitions whose "QueryText" is "like" a certain value. Here's the XML: <s:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/...
user avatar
0 votes
0 answers
20 views

Exception "Exception occurred in direct soap call" while trying to save changes in an Einstein Bot

I get the following exception with Bots: "ui.services.connection.api.ToolingConnectionException: com.sforce.ws.ConnectionException: Exception occurred in direct soap call". It happens in the ...
user avatar
  • 1
1 vote
2 answers
30 views

How to handle compressed response with JSforce in NodeJS

How might we uncompress responses using JSforce? I'm using Connect REST API. I have tried to decompress the content of String with Zlib (because the header Content-Encoding is set to gzip) and decode ...
user avatar
0 votes
1 answer
30 views

How can I stop Email Preview from executing API calls?

Trying to institute tokenized links in the emails that will allow users to sign-in to the company's website without having to enter credentials. Tokenized links are generated by the company backend on ...
user avatar
  • 173
3 votes
0 answers
55 views

Automate the Salesforce Support Case creation

In our project, we need to automate the Salesforce Support Case creation. We want to automatically create a case to Salesforce to request changing Trial Org to Permanent org. We want to do it every ...
user avatar
0 votes
1 answer
77 views

Webhook settings and apex class

I'm new to the topic of webhook and also apex, and I'm getting confused when you are making the setting in Salesforce and also the creation of the class. When you are placing the path in the class, ...
user avatar
-1 votes
0 answers
22 views

Salesforce "EntityDefinition" tooling api returns less custom object+ custom setting count [duplicate]

I am using Salesforce tooling "EntityDefinition" api to pull all the custom object and custom settings as per the below query: https://instance/services/data/v55.0/tooling/query?q=SELECT ...
user avatar
0 votes
1 answer
53 views

SF Workbench - API Version - v55 Not Appearing

I require to use Workbench with SF API v55 (Summer '22) so that I may deploy Service Cloud Voice (SCV) Contact Center with features that are in v55 My SF Org is running Summer '22 (v55) Currently when ...
user avatar
0 votes
0 answers
20 views

Getting a 404 error for the Salesforce CDP Consent AP Action "Shouldforget"

I am using Salesforce's documentation on how to use their Consent API to delete records in CDP by using the write parameter action "shouldforget". Nonetheless, I am getting a 404 Not Found ...
user avatar
0 votes
1 answer
61 views

How to save Jira URL in salesforce

Am Integrating salesforce with Jira. I want to save the Jira URL in salesforce in which I created a custom field in internalrequest__C. I searched for some documentation from JIRA REST API and when ...
user avatar
2 votes
2 answers
246 views

why am i getting : Invalid conversion from runtime type List<ANY> to Map<String,ANY>

I am trying to parse data that I get from an external webservice with a get api callout. When running the code I get the error : Line: 14, Column: 1 System.TypeException: Invalid conversion from ...
user avatar
0 votes
1 answer
34 views

Open Embedded Service/Einstein Bot on Page load

I have an embedded service connected to an Einstein Bot on a Customer Community Page, and on certain pages, I would like the Bot to launch automatically, rather than requiring a manual click by the ...
user avatar
-1 votes
1 answer
36 views

Create events in EventLogFile in Salesforce using python

I'm trying to create some fake events using python in Event Log File: from simple_salesforce import Salesforce, SalesforceLogin, SFType session_id, instance = SalesforceLogin(username=username, ...
user avatar
0 votes
0 answers
17 views

Populate Picklist/Choice with SimpleSalesforce

I'm using the SimpleSalesforce API to query and filter records to a dictionary which I can also put in a dataframe using Pandas. I am trying to use this information to create some sort of picklist or ...
user avatar
0 votes
0 answers
147 views

Preflight request doesn´t pass access check : It does not have HTTP OK status

When the customer is trying to connect with Salesforce it get Preflight 400 error. Without web-security-disable ON it is working as expected, also in Postman it is working as expected but with web-...
user avatar
0 votes
0 answers
39 views

Dell Boomi Salesforce connector- java.net.SocketException: Unexpected end of file from server; Caused by: Unexpected end of file from server

We have dell boomi integration jobs set up that send update to salesforce objects on regular intervals. During some intervals, our boomi job fails by giving out the following error: Error executing ...
user avatar
0 votes
2 answers
58 views

How to use Field(Row(BuildRowSetFromXML()) to fetch a field with a specific attribute-id from XML

Issue From the attached XML i am traying to read the value of "vertex_retail_delivery_fee" with below code. <custom-attribute attribute-id="vertex_retail_delivery_fee">0.27&...
user avatar
0 votes
0 answers
14 views

Social Studio Posts API does not return full post content

Currently in Social Studio Posts API, the entire post content is not returned but we see only a subset of the content. Is this a inherent limitation or is there a workaround where I can get the entire ...
user avatar
1 vote
1 answer
77 views

How To Get All The Favorites In Salesforce?

I am using as reference this documentation: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_favorites.htm And it says that by doing an HTTP GET request to this url &...
user avatar
0 votes
1 answer
41 views

SSJS variable not being passed to JSON payload

I am trying to do an API call. I am getting a query string parameter from a URL and attempting to pass it into a JSON payload for an API call. However, it looks like the value in the variable is not ...
user avatar
  • 13
0 votes
1 answer
77 views

Establish a connection from Salesforce to VPN

Some of our API endpoints cannot be accessed from SFMC without connecting to the VPN network. We need to fetch information from these endpoints. Is VPN tunneling possible from SFMC? currently, it is ...
user avatar
0 votes
0 answers
41 views

Accessing HTML content from the email using REST API endpoint

Using the REST API I am trying to extract the HTML content of an email. Endpoint URL : https://SUBDOMAIN.rest.marketingcloudapis.com/asset/v1/content/assets/{{asset_id}} The above URL returns a ...
user avatar
  • 1
0 votes
2 answers
39 views

An invalid security token was provided - How to get support

I have a number of clients who use our integration with Salesforce Marketing Cloud. When things go astray it is quite difficult to resolve the issue as I have no access to the clients account. We use ...
user avatar
  • 1
0 votes
1 answer
117 views

this.template.querySelector(...).handleUpdateCase().then is not a function

Hello, I develop a parent LWC which calls a method from a child LWC. Unfortunately, I get this error message: this.template.querySelector(...).handleUpdateCase().then is not a function This is the ...
user avatar
  • 619
0 votes
1 answer
40 views

'Bad Request' error while sending Soap API to update the query activity

I'm using the Soap API to Update the Query activity. It works fine with a simple query, but when the query contains the special characters(&, (, ),-) mentioned below it gives the 'Bad Request' ...
user avatar
0 votes
1 answer
72 views

400 Bad request for concurrent 10 sessions hitting REST API from Informatica

I have an Informatica integration workflow processing around 200 or 100 records each session for 10 sessions concurrently to REST API (Salesforce). It first authorizes using connected app details (...
user avatar
  • 9
0 votes
1 answer
41 views

How to deserialize this to get only the value 3.2

I have the Wrapper class, and the testwrapper class, but in my callout class i cant get it to only get out the value: 3.2 this the is api url: https://data.ssb.no/api/v0/no/table/11117 This is the ...
user avatar
0 votes
1 answer
49 views

LWC - How to send the recordId to the controller

I'm trying to pass the recordId to the controller so I can interact with the person account to send the data. The problem I found was that recordId was not sending its data correctly to the controller....
user avatar
  • 97
2 votes
1 answer
49 views

Automated bulk refresh of filtered DEs - API or data filters?

I work for an organization with a very decentralized model, and we have 25-30 departments/teams sending out of SFMC. Each of these teams has their own set of filtered DEs (probably 30-50 per team), ...
user avatar
  • 21
0 votes
0 answers
18 views

Is there a Public Link Sharing list?

New to Salesforce administration, and just found out that there is an option to create a public link for files. Is there a way to see all public links created in the instance I manage just like in ...
user avatar
0 votes
0 answers
27 views

Use SwitchServer for dynamic url changes for Chat rest API call

I am using SwitchServer to get the newURL for Chat API endpoint. But the response newUrl is returned for requests to Visitor resources if the Live Agent instance URL is not correct for the ...
user avatar
0 votes
0 answers
104 views

Getting 404 Error when trying to create a Lead object in SalesForce API

I'm sending a POST request from a connected app to try and create a Lead object in my company's dashboard. Here is the URL that I'm using to post: https://${MyOrganization'sBaseURL}.my.salesforce.com/...
user avatar
  • 1
1 vote
1 answer
28 views

how to get the package related information(namespace, version number) from installation url

I am doing automation on package installation, now I am able to install the package from apex using metadata service class by passing package namespace and version number, but i need to pass the ...
user avatar
1 vote
3 answers
229 views

Get values from nested JSON dictionaries in Apex

I'm trying to make use of the Jira Rest API from within Salesforce. I am somewhat useless with Java, so hopefully someone can point me in the right direction. I can use the following Apex to get an ...
user avatar
  • 43
1 vote
0 answers
55 views

SystemModStamp not updated after field type changed

After changing the type of a field from "Rich Text" to "Plain Text", Salesforce automatically stripped out the HTML tags used to style the values (e.g. from <p>Test value<...
user avatar
0 votes
1 answer
54 views

expose a soap api with 40 parameters

I need to expose an API Soap with 40 parameters. Do you have an idea how to do that because SF give me an error when i generate Apex Class from WSDL "Invalid number of parameters exceeds: 32"...
user avatar
  • 3

1
2 3 4 5
46