Questions tagged [marketingcloudapi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
45 views

Exception occurred during [UpdateQueryDefinition]

I can't figure out why this isn't working. I'm trying to update a QueryDefinition (SQL Query) using this Soap Envelope. <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:...
1
vote
1answer
38 views

Encountering 500 server error while parsing xml response in SSJS

I have req to get User record in Marketing cloud for which I am using SSJS to make SOAP API call and the response is in xml , I am passing the response to Ampscript as SSJS cannot cannot parse xml ...
0
votes
0answers
16 views

Custom Activity - Is there a way to call an external API for each contact on my data extension right before the EXECUTE?

Do you know if it is possible to make an external API call for each of my contacts in my data extension right before the custom activity is executed? I mean, the same way we can "code something&...
0
votes
2answers
44 views

Call an API with HTTP request from SFMC Automation Studio [closed]

I'd like to call an external API using HTTP Post method and store the response in Data Extension. <script runat="server"> Platform.Load("core","1.1"); ...
1
vote
0answers
30 views

Using Marketing Cloud SOAP API - is it possible to retrieve the Federated ID for the AccountUser?

I have been able to retrieve the AccountUser information and based on the documentation I should be able to get the SsoIndentity for the user. Unfortunately it gives me an error saying it isn't a ...
1
vote
1answer
29 views

Initiate email to admin/Group when user account is created in Marketing cloud [closed]

I would like to know if there is way in Marketing cloud through code/clicks to send an email to a specific user(s)[Admins] when user is created in Marketing cloud .
0
votes
1answer
30 views

WhatsApp Infinite Loops

I´ve been a marketing cloud user for almost a year now, so I believe I´m still a beginner regarding some subjects, specially the latest features like WhatsApp. I am currently trying to set up a ...
0
votes
3answers
65 views

Getting Status “404 Not Found” while triggering Send via Postman

I am trying to trigger a Trigger Send with a simple payload using Postman, however the TS is not being sent. Note: No response body is generated, the only thing that it shows is "404 Not Found&...
0
votes
1answer
63 views

Get count of all contacts in Marketing Cloud programmatically [closed]

I was looking through the API documentation for Marketing Cloud, here. But it is unclear how to get the count of ALL contact in MC. I know that I can log in and see the number there, but what if I ...
1
vote
1answer
14 views

How to configure in-app messaging [closed]

From the following https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/in-app-message/in-app-messaging.html it is not clear to me: Do we need to Provision for Push and Enable Push in ...
0
votes
0answers
18 views

Using `fueloauth` token for Marketing Cloud SOAP API in WCF applications [duplicate]

In this article: Connecting to the SOAP API using WCF all the examples use username and password for authentication with Marketing Cloud SOAP API: // Create the binding BasicHttpBinding binding = new ...
0
votes
0answers
37 views

Getting the SSJS value from a for loop and assign it a ampscript variable

I have a requirement, I need to encrypt a data field value from the behavioral trigger Abandoned cart and after extracting the JSON body, I have to use the product information in the email template. ...
2
votes
0answers
41 views

Import External Database Data into Marketing Cloud [closed]

Hello Salesforce Stack Exchange Members, Is there a way to setup an integration from an external database (custom built CRM database built in FileMaker Pro) to import data into a Marketing Cloud Data ...
0
votes
0answers
38 views

Export email metadata and reimport in Marketing Cloud

I need to make duplicate copies of a email with some minor changes in it. I was thinking if there's a way I can export the metadata of that email, make the necessary changes and Post it back in MC to ...
0
votes
1answer
27 views
1
vote
0answers
35 views

Updating a large batch of data in a DE without primary keys

I have an issue with a client, that I would like to know if anyone could help us with some kind of alternative solution. There is a client Data Extension with over 14 million records that we need to ...
0
votes
0answers
27 views

When we are posting post on twitter, I want to send the tweeted post link will be sent via sms to a subscribers stored in a DE using mobile studio

I am stuck in a scenario in SFMC , when we are posting post on twitter, I want to send the tweeted post link will be sent via sms to a subscribers stored in a DE using mobile studio. I Want to achieve ...
0
votes
1answer
46 views

The Email thumbnail could not be retrieved in Individual Email Results

We sent an email using the Journey Builder, when we checked the Individual Email Results we were able to check all the tracking details but for the email image it showed "The email thumbnail ...
0
votes
1answer
36 views

REST API + SSJS POST to Short.io

it seems I'm stuck with the SSJS code to retrieve the short.io response.Do you know why i'm getting the no response or status -2 call failed as per HTTP.Response? Please find below my code and ...
0
votes
1answer
46 views

Retieving sender profile through ssjs and soap

I am trying to retrieve sender profile by doing soap call via ssjs: Platform.Load("core","1"); var payload = ''; var endpoint = "https://mcrd367cfywzf2wz7gc7ln-dc7fq.soap....
0
votes
0answers
74 views

Sending 'Back-in-Stock' triggered emails only to first 'x' group of people for each product

We have “Notify me” button on our website to alert users when the stock is back. When the stock is back, the API call happens from external system to Marketing Cloud to send triggered emails (Email ...
1
vote
1answer
33 views

Marketing Cloud: Accessing _smsmessagetracking data view records using SOAP API [closed]

I wonder if it is possible to retrieve records from the _smsmessagetracking data view using SOAP API. I have found Sent, Open, Click, Bounce and few other objects in the documentation but I need an ...
0
votes
0answers
30 views

Remove role from a user error

I'm trying to remove a role from a user but i'm getting the following error <StatusCode>Error</StatusCode> <StatusMessage>An error occured while attempting to save one of ...
1
vote
2answers
60 views

Rest api to list all data extension

I would like to list all data extensions via rest api but I didn't find anything about it. I need only the name and customer key or id. I appreciate if someone can help me.
0
votes
0answers
21 views

How to get all dataextensions external key via api

Is there some api to GET a list of all data extension -> external key? I need to choose the key before to send the following POST or PUT.
0
votes
0answers
60 views

Get created SMS using Content Builder API

I would like to get Assets (only SMS) via Content Builder API. I tried using the route asset/v1/content/assets/query with something like below : { "page": { "page": 1, &...
2
votes
1answer
50 views

Journey Builder Transactional API with SFDE not Creating IER

Title says it all. I have a Transactional API Journey Builder with a DE located in Salesforce Data Extension. I moved it from DE to SFDE as you cannot assign a SFDE directly from Journey Builder. I ...
1
vote
0answers
20 views

Python FuelSDK 1.3.0 no longer working?

I had to revert from python FuelSDK 1.3 to 0.9, because as of around 2pm Eastern on 3-Mar-2021, the code was failing on authentication, the server response was failing the JSON parser. Anyone else ...
1
vote
1answer
58 views

Exclusion List field in Mobile Connect

I have a customer's requirement to get the value of Exclusion List field in MobileConnect send, to do an automatic extraction of control group. Does anyone know if it's possible? I've been talking ...
0
votes
1answer
53 views

How to get category (folder) Id of SSJS activities

I tries to create SSJS activity using REST API. Body of request looks like this: { "name": "ActivityName", "key": "ActivityKey", "...
0
votes
1answer
104 views

AEM integration with salesforce marketing cloud [closed]

We have a migration project where we need to migrate content from AEM to SFMC. I know api is one way of doing it. Is there any other approach?
0
votes
0answers
26 views

Is it possible to retrieve attribute meta data during subscriber retrieve

Is it possible to retrieve attribute meta data for each of the Subscriber profile attributes (not data extension attributes) during retrieve of the Subscriber? I am using the SOAP API and I am aware ...
0
votes
2answers
94 views

Deployment Manager not opening

I have installed deployment manager on SFMC account enterprise BU but it is continuously throwing the following error. Can anybody have an idea why i am getting this error. error : mc9gph0gwn67-wz4y01....
0
votes
1answer
60 views

How can I automatically add a subscriber from MobileConnect to AllSubscribers?

Currently Salesforce Service Cloud is calling Marketing Cloud API to insert a Mobile contact when a button is clicked. It only adds the record to The MobileConnect app with the rest.marketingcloudapis....
0
votes
1answer
70 views

Marketing Cloud Available entities to Synchronized is empty

When trying to set up object, no items are showing to synchronize, is that something I've missed in the configuration the system user has the two appropriate roles and the Salesforce.com Status ...
0
votes
1answer
73 views

How to delete rows from DataExtension having no Primary Key, and exist in different Business Unit?

I refered this approach to delete rows from Data Extensions having no primary key. But this require to put SSJS script into every business unit. I tried with WSProxy by setting different clientId , ...
0
votes
0answers
87 views

How to get the SFMC abandoned cart link to go to the abandoned cart page and not to the products page?

I have implemented Abandoned cart Behavioral trigger and its working fine. But when the customer receives the Abandoned cart email and clicks it should redirect to the rebulit cart URL, instead of ...
0
votes
1answer
56 views

ExtractRequest SOAP API

Retrieve Tracking Data from Marketing Cloud using ExtractRequest SOAP API and following XML Payload is being used. Salesforce documentation didn't provided a way to find the ID parameter value to ...
0
votes
0answers
40 views

Not so public cloud pages in Marketing Cloud

I am building a cloudpage but want to restrict it to be visible only within my company network. I have a solution and it is working. I created a DE with the list of accepted IP ranges and used SSJS ...
0
votes
1answer
122 views

Marketing Cloud Transactional Message API: scope_mismatch error when using refresh and offline_access scopes

I am integrating with the Marketing Cloud Transactional Message API: Transactional Messaging API I am setting up a Named Credential in Salesforce to connect to the Marketing Cloud API, and I have ...
0
votes
1answer
22 views

Where can I find the list of contacts that have opted in for push notifications via the API

In the mobile push rest API, is there somewhere where I can find the list of contacts that has opted in to receive push notifications via the API? Also, is there a way, say via the Event Notification ...
0
votes
0answers
12 views

Send FB message via GroupConnect API

I'm trying to send a message to FB Messenger via GroupConnect API, however not sure where to get the values for "messageKey", "messageGroupKey" and userReference. I get that the ...
1
vote
0answers
57 views

Using lookup function after updating DE returns old value

I've encountered quite strange phenomena. When retrieving a field from a DE and then updating this field to some other value - the lookup which follows the update function returns the old value (...
0
votes
0answers
85 views

Salesforce SFMC : FuelSDK Python - Unable to retrieve data from Shared Data Extension

We are trying to retrieve data from Shared data extension in Salesforce marketing cloud through FuelSDK Python. Below is the code snippet: import FuelSDK import ET_Client stubObj = FuelSDK.ET_Client(...
0
votes
1answer
49 views

Skip over bad records in SSJS loop and continue processing

I have created this SSJS Loop, but it will stop when a record is considered "bad". How do I skip over this record to continue the process? <script runat="server"> Platform....
0
votes
0answers
32 views

Is there any way to force a Connector synchronization of an object via SSJS?

I couldn't find anywhere in the API documentation, but is there a way to, via SSJS, force an entity synchronization on an object (Connector)? The issue I'm running into is I created an automation ...
0
votes
1answer
98 views

How to retrieve content block in SSJS

I'm trying to retrieve a content block for a script in ssjs. I tried already several functions but it seems not working. The scope is with a script to retrieve a content from a content area and push ...
0
votes
1answer
95 views

Abandoned Carts Contact Key

We have Sales Cloud as our database of record and contacts flow through from Sales Cloud to Marketing Cloud. Our contact key is currently the 18 digit contact/lead key from CRM. We have a new use case ...
1
vote
1answer
39 views

Only retrieving journeys without tags via REST API

I am trying to retrieve journey information with REST API in Marketing Cloud. According to the "Search Journeys - GET /interaction/v1/interactions" page, there is tag as URL Parameters to ...
1
vote
1answer
119 views

Using Salesforce AMPscript functions in Marketing Cloud - Limitations

We haven't found the answer for this in the documentation so perhaps someone here can help us. We would like to know if using Salesforce AMPScript functions such UpdateSingleSalesforceObject counts ...