since ‎04-04-2019
‎10-12-2019
AditThom
Level 2
Re: Why does ACS API not return pagination information when is should???
Avatar

AditThom

AditThom
- Adobe Campaign Standard
Hi Pulkit,I have been working with another Adobe technical resource and we have determined that this is related to our production instance, everything works as expected in our staging instance. This is most likely a data related issue that instance that is causing a silent failure when creating the next page url and so the payload is returning without it and with no explanation or warning. I will update here once we determine the root cause.Thanks for your help,Thom

Views

9.1K

Like

1

Replies

0
Re: Why does ACS API not return pagination information when is should???
Avatar

AditThom

AditThom
- Adobe Campaign Standard
Hi Pullkit, as noted in my question we have well over 1 million profiles.... but here are the results of asking for 5. I have been able to ask for up to 100K and get them, but after that things seem to time out. I need to paginate.

Views

9.1K

Like

1

Replies

1
Re: Why does ACS API not return pagination information when is should???
Avatar

AditThom

AditThom
- Adobe Campaign Standard
This morning I I tried using POSTMan and I get the same thing... no pagination information here. Notably if I request data from the service endpoint, I get pagination (see second screen shot) I have the same issue when requesting subscriptions for a given user, I get up to as many as I ask for but no pagination.Screen shot one... profile emails with no paginationScreen shot two Service names showing pagination

Views

9.1K

Likes

0

Replies

3
Re: Why does ACS API not return pagination information when is should???
Avatar

AditThom

AditThom
- Adobe Campaign Standard
Thanks Pulkit, I am just using a standard .NET HttpClientcall and the pagination stuff is missing in the raw result stream. The JSON returned is also well formed so I don't think it is being truncated. Notably, I do get pagination info in many places, just not with subscriptions and with profile emails. I will give Postman a shot against our instance, though and see if it is code related or instance related. Will post results in the AM.

Views

9.1K

Like

1

Replies

0
Why does ACS API not return pagination information when is should???
Avatar

AditThom

AditThom
- Adobe Campaign Standard
We have over a million profiles but when I make a request to the simplest endpoint I do nocalling https://mc.adobe.io/cdc/campaign/profileAndServices/profile/email I get no pagination information and this is not the only place... I had a ticket in for the same issue when retrieving subscriptions for a given profile. I finally gave up because I was tired of chasing the support folks and just increased the line count on that call for now. In this case though, this is the example in all the docs an...

Views

9.4K

Likes

2

Replies

7
Re: Issues adding subscriber to service in ACS API
Avatar

AditThom

AditThom
- Adobe Campaign Standard
This is still an issue, but I have a bit more information. We added some new services and I discovered that the first profile I try to subscribe via the API does NOT return with the duplicate key error, but even though it found the appropriate service it seems to not make the connection to the profile and so it fails, silently, and inserts a subscription record with an id of 0. All subsequent subscribe calls then also do not find the profile and so the duplicate key error occurs.The picture belo...

Views

1.2K

Likes

0

Replies

0
Issues adding subscriber to service in ACS API
Avatar

AditThom

AditThom
- Adobe Campaign Standard
I am trying to add a profile as a subscriber via the ACS API. I have attempted both methods described in the API documentation here... Adobe Campaign Standard API and here Campaign Standard: use APIs to optimize your cross-channel campaigns. ​(the latter seems to assume you are only using the extended api endpoints, but I figured out how to get past that.I can successfully retrieve a profile using the byEmail filter and retrieve the PrimaryKey and the href value from the profile subscriptions re...

Views

2.6K

Like

1

Replies

3
Solved: C# Using JWT and System.IdentityModel.Tokens.Jwt to connect to Adobe ACS API.
Avatar

AditThom

AditThom
- Adobe Campaign Standard
I struggled hard to figure this out so I am putting it out there in hopes of saving someone else time. Writing a WCF C# Proxy service to the ACS API, I tried several of the .NET libraries suggested and finally arrived at a solution using System.IdentityModel.Tokens.Jwt from Microsoft. The real hangup was with the metascopes claim. It needs to be true as an object and not "true" as a string. The documentation on MSDN says that all claim values are strings but you can suggest a serialization by us...

Views

5.7K

Like

1

Replies

2
Re: Campaign ACS API "No match in backends for the given tenant id"
Avatar

AditThom

AditThom
- Adobe Campaign Standard
Thanks for the quick reply! I could swear I had tried that before, but I removed the extra ".adobe.com" and it seems to be working now. Notably, the documentation for lesson 5 at Campaign Standard: use APIs to optimize your cross-channel campaigns says it should be there.

Views

1.9K

Likes

0

Replies

2
Campaign ACS API "No match in backends for the given tenant id"
Avatar

AditThom

AditThom
- Adobe Campaign Standard
Hello!I am working, for a customer, on a server side proxy in C# for the Campaign APIs and after fighting my way through the JWT authentication using the Microsoft jwt libraries I was ready to try out my first test following the examples here Campaign Standard: use APIs to optimize your cross-channel campaignsI have built out the call as noted in the documentation... and so I am calling https://mc.adobe.io/.adobe.com/campaign/profileAndServices/service where is my instance name. I have previous...

Views

3.6K

Likes

2

Replies

6
Likes given to