Expand my Community achievements bar.

Error when adding new field in profile creation by API

Avatar

Level 3

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

3 Replies

Avatar

Community Advisor

@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...

Thanks, Sathees

Avatar

Administrator

Hi @LAR1985,

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

Thanks!



Sukrity Wadhwa

Avatar

Level 5

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