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

Internal Adobe Campaign error: rc=-2003 while creating a profile

Avatar

Level 2

Hi all,

We are trying to create a profile in in Campaign using a Adobe Campaign Standard form in AEM.

We get the following error while doing so:

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Mapping: Email context.profile.email

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Mapping: fName context.profile.firstName

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Mapping: lName context.profile.lastName

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Mapping: pcode context.profile.cusShippingPostalCode

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Value for mapping 'epk':

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Value for mapping 'context.profile.email': test@test.com

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Value for mapping 'context.profile.firstName': Test

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Value for mapping 'context.profile.lastName': User

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Value for mapping 'context.profile.cusShippingPostalCode': 2000

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Encrypted PK:

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Reconciliation key:  =

com.day.cq.mcm.campaign.servlets.util.ParameterMapper Data JSON: {"context":{"profile":{"email":"test@test.com","cusShippingPostalCode":"2000","firstName":"Test","lastName":"User"}}}

com.day.cq.mcm.campaign.impl.CampaignConnectorImpl Webservice config found on resource '/content/my-page/jcr:content'

com.day.cq.mcm.campaign.impl.HttpClientBuilder https connection: <campaign-server-name>.com:443

com.day.cq.mcm.campaign.impl.CampaignConnectorImpl Internal Adobe Campaign error: response body is: Error rc=-2003

com.day.cq.mcm.campaign.impl.CampaignConnectorImpl Requested: /jssp/nms/amcStoreProfile.jssp - data: encryptedPK=&key=&keyValue=&data={"context":{"profile":{"email":"test@test.com","cusShippingPostalCode":"2000","firstName":"Test","lastName":"User"}}}&insert=true&mapping=mapRecipient&resource=mapRecipient&__sessiontoken=***

com.day.cq.mcm.campaign.servlets.SaveProfileServlet Could not save profile data

com.day.cq.mcm.campaign.ConnectionException: Unexpected status code (expected 200, was 500)

at com.day.cq.mcm.campaign.impl.CampaignConnectorImpl.postGeneric(CampaignConnectorImpl.java:295) [com.day.cq.mcm.cq-mcm-campaign:1.3.8]

at com.day.cq.mcm.campaign.impl.CampaignConnectorImpl.postFunction(CampaignConnectorImpl.java:214) [com.day.cq.mcm.cq-mcm-campaign:1.3.8]

at com.day.cq.mcm.campaign.servlets.SaveProfileServlet.saveProfile(SaveProfileServlet.java:92) [com.day.cq.mcm.cq-mcm-campaign:1.3.8]

at com.day.cq.mcm.campaign.servlets.SaveProfileServlet.doPost(SaveProfileServlet.java:143) [com.day.cq.mcm.cq-mcm-campaign:1.3.8]

Has anyone faced this issue earlier or can point at what this error code means?

Thanks

Ruchi

1 Accepted Solution

Avatar

Correct answer by
Level 2

We figured out the issue and thought I should share here just in case someone faces the same issue.

We were using the wrong acMapping in the form page template:

Make sure the acMapping property on the page's jcr:content node is set to mapRecipient or profile when using Adobe Campaign 6.1.x or Adobe Campaign Standard, respectively

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

We figured out the issue and thought I should share here just in case someone faces the same issue.

We were using the wrong acMapping in the form page template:

Make sure the acMapping property on the page's jcr:content node is set to mapRecipient or profile when using Adobe Campaign 6.1.x or Adobe Campaign Standard, respectively