Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

Response 502 while using production instance

Avatar

Level 1

Hi,

 

We have two different projects with in console.adobe.io, each with a connection to the Adobe campaign API, which in turn have different product profiles. One project and instance is for staging, and one for production. We are successfully using the staging instance via REST API, for creating user profiles and triggering events, but when using the production instance in the same manner we are running into problems. There are no apparent differences in configuration between the two instances that can explain this issue, and we need help finding debug information.

 

When we try to make a call to the production API using production token and keys we get the following:

 

Request:

curl --request GET \
--url https://mc.adobe.io/{OUR TENANT ID}/campaign/profileAndServices/resourceType/profile \
--header 'authorization: Bearer [our valid access token here]' \
--header 'cache-control: no-cache' \
--header 'content-type: application/json' \
--header 'x-api-key: [our API key here]'

 

Response:
{
"code": 502,
"message": "Oops. Something went wrong. Check your URI and try again."
}

 

The header includes the following (Note the double // which we do not get in the staging instance case):

X-Debug-Backend: https://{OUR TENANT ID}-adobeio.campaign.adobe.com/rest//profileAndServices/resourceType/profile

 

Both instances are running: Adobe Campaign v20.3 build 10586

 

Is it possible to get access to debug logs or anything similar in order to understand the cause of the 502? Neither ourselves or our Implementation Partner have been able to identify any configuration difference between our production and staging instances, so we are running out of ideas.

 

Thanks for any advice on how to trouble shoot or fix this issue!

Christoffer

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 1

Solution comment by Adobe: "Such kind of issues comes when integration is not done correctly. So the reason why the API integration is not working for you might be using the integration created for Stage instance for firing API calls on Prod.

 

If there is single integration point created which is linked to Stage instance and if someone will use it for firing calls to Production instance it will not work. You have to create two separate integrations for stage and prod and accordingly use the same.

 

The reason we need individual integration is because at the time of creating in Adobe I/O it we define the product configuration to use and for one integration you can link a product configuration either for prod or for stage."

 

Unclear what "integration was not not done correct", but its working now...

View solution in original post

1 Reply

Avatar

Correct answer by
Level 1

Solution comment by Adobe: "Such kind of issues comes when integration is not done correctly. So the reason why the API integration is not working for you might be using the integration created for Stage instance for firing API calls on Prod.

 

If there is single integration point created which is linked to Stage instance and if someone will use it for firing calls to Production instance it will not work. You have to create two separate integrations for stage and prod and accordingly use the same.

 

The reason we need individual integration is because at the time of creating in Adobe I/O it we define the product configuration to use and for one integration you can link a product configuration either for prod or for stage."

 

Unclear what "integration was not not done correct", but its working now...