New answers tagged

0 votes

How can I upload/change user's profile image programatically or via API?

ChatterUsers class no longer supports setting photos. Currently this functionality is available under UserProfiles class. ConnectApi.Photo photo = ConnectApi.UserProfiles.setPhoto(communityId, userId, ...
user avatar
0 votes

An invalid security token was provided - How to get support

private T CallSoapRequest<T>(Func<T> func) { if (useOAuth) { using (new OperationContextScope(exactTargetClient.InnerChannel)) { // Add oAuth ...
user avatar
  • 1
0 votes

An invalid security token was provided - How to get support

Using a token in a SOAP call can be done like this: POST /Service.asmx HTTP/1.1 Host: YOURTENANTHERE.soap.marketingcloudapis.com <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/...
user avatar
3 votes
Accepted

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

@api handleUpdateCase() { return { ticketId: this.ticketId, message: this.message }; } You didn't return a Promise or use async, so then isn't a function of the return value. ...
user avatar
  • 433k
2 votes
Accepted

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

Your QueryText property contains characters that are part of XML markup. You can either HTML encode your query or place it inside a CDATA section: <?xml version="1.0" encoding="UTF-8&...
user avatar
  • 7,766
0 votes

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

There is a concurrent API limit for long-running REST requests in SF as documented here. Apart from this, I hope you are reusing the access token returned from oauth until that token is invalid, ...
user avatar
0 votes

How to deserialize this to get only the value 3.2

As the Value is an array and it does not have any JSON Object you can access the value on the JSON by parsing it and get the value by checking as parsedJSON.value[0]==3.2
user avatar
  • 13
1 vote
Accepted

LWC - How to send the recordId to the controller

To access the record id you need to add the component to a Lightning record page. You need to also import the @api like below: import { LightningElement, api } from 'lwc'; Please note that "...
user avatar
2 votes

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

I've done this with Filter and Query Activities -- iterating through a list of Stores and upserting a Filter or Query for each and then executing it. I did it with WSProxy (SOAP API) in a single ...
user avatar
0 votes

How exactly does Salesforce calculate the number of API requests for the last 24 hours?

Since Salesforce is a multi-tenant environment thus there are API limits enforced. We have 3 types of API limits: Concurrent API Request Limits API Timeout Limits Total API Request Allocations The ...
user avatar

Top 50 recent answers are included