New answers tagged

0 votes
Accepted

Data insertion failed with salesforce inspector

Thank you for your answer, in fact it was the wrong object's ID ! So I took the 'history' object ID and it's fine now.
Alain's user avatar
  • 9
0 votes
Accepted

Creating a custom rest API in marketing cloud

What did you try? Where are you stuck? As you are writing, there are multiple resources online which both explain the basics of Cloud Page Code Resources, as well as showcase how to implement custom ...
Lukas Lunow's user avatar
  • 21.1k
0 votes

Create service in SF for non-SF resources to call

Salesforce already provides a SOAP-based Replication API as well as the REST-based sObject Get Updated and sObject Get Deleted. This is probably the best option for near real-time updates, as it even ...
sfdcfox's user avatar
  • 488k
0 votes

API call to confirm email was sent from Pardot/Account Engagement

The endpoint should be https://pi.demo.pardot.com/api/prospect/version/4/do/query?format=json&[email protected] HTTP Method is GET Headers: Authorization : Bearer , Pardot-Business-...
mozzy69's user avatar
  • 38
0 votes

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

This should work: <script type="javascript" runat="server"> Platform.Load("core",1); var prox = new Script.Util.WSProxy(); var accountId: YOURMID prox....
Jonas Lamberty's user avatar
0 votes
Accepted

Inbound and Outbound calls question

If neither External System 1 or External System 2 are Salesforce, this is possible, assuming all the rules for callouts are followed (no callout after DML, 6MB max callout size, 120 second max timeout,...
sfdcfox's user avatar
  • 488k
4 votes

Data insertion failed with salesforce inspector

This error means that your user does not have access to the record type you have specified. With Id 0121t0000001qxAAAQ. You can either grant access to this in the user's Profile or via a Permission ...
fred's user avatar
  • 3,300
1 vote

How to Contact delete (All contacts) in Child BU

Contact Deletion would need to be performed in the Parent BU context. You can manually delete contacts from Contact Builder in the Parent BU. To run it in an Automation, you would need to rely on MC ...
Duc Le's user avatar
  • 3,118
0 votes

Access Restricted for API Only Users

I couldn't logout and tried Mary's method, but it didn't work. So I went to Setup | Management and found my API user and deleted the session. That did work for me.
Vincent Tang's user avatar
0 votes

Is there any way of retrieving all records from a data extension via REST API for Marketing Cloud?

Data extension record retrieval via REST is now supported as part of 2024 spring release! https://help.salesforce.com/s/articleView?id=sf.mc_rn_2024_spring_as_rest_api_endpoints.htm&type=5 Rest ...
MC Qs's user avatar
  • 40
0 votes

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

I found the solution to query image data through the REST API, using GET: https://my-sandbox.sandbox.file.force.com/services/data/v{api_version}.0/sobjects/ContentVersion/{content_version_id}/...
Z0q's user avatar
  • 155
0 votes

How to get Automation connected to a Journey API response?

It might be helpful for you to get your journeyid with this. It will return a list of all your journeys including id. Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com GET /interaction/v1/...
August Rimmen's user avatar
2 votes
Accepted

Workaround for Offset limitation

During pagination i try to do order by on 2 fields lets says first 1 will be created date, systemmodstamp or any other field you want to order by but second field I use is record id field. So my first ...
Manjot Singh's user avatar
  • 3,488
0 votes
Accepted

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

[UPDATE] I was able to get this working, here is the breakdown of each step and how i got it to work: Code: %%[ Var @callStatus, @response, @payload, @headerName, @headerValue, @rows, @priceRow, @...
aryashah2k's user avatar
0 votes

API Limit Issue

I have also been fighting with this issue before, multiple times actually. There is a way, how to investigate with Event Logs. Salesforce offers a built-in summary of API calls through its Event ...
Jan Binder's user avatar

Top 50 recent answers are included