Error when adding new field in profile creation by API | Community
Skip to main content
Level 3
Sep 16, 2024 8:51 AM UTC
Question

Error when adding new field in profile creation by API

Hello everyone,

 

In the "Profile" resource we have created the extended resource and created new fields. We are also creating profiles through API calling this endpoint https://mc.adobe.io/company/campaign/profileAndServicesExt/profile/.

 

This is working correctly but we have added a new field to the profile extended resource and we have added the same field to the API and we are getting the following error 'NewField' property is not valid for the 'profile' resource.

 

It looks like it is not identifying the new field in the API schema? Does anything else have to be done apart from creating it in the resource?

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

somasundaram_h
New Participant
Nov 7, 2024 4:38 AM UTC

Sometimes regenerating the schema/resources will be helpful in this scenario.

Translate
Sukrity_Wadhwa
Employee
Oct 16, 2024 2:02 PM UTC

Hi @lar1985,

Was the given solution helpful to resolve your query or do you still need more help here? Do let us know.

Thanks!

Translate
Sukrity Wadhwa
SatheeskannaK
Level 1
Sep 18, 2024 2:18 AM UTC

@lar1985 Can you check whether the added field showing on the API response when you make a GET call?

https://experienceleague.adobe.com/en/docs/campaign-standard/using/developing/use-case-extending-the-api/step-3-verify-the-extension

Translate
Thanks, Sathees