Adobe Experience Platform: meta:enum can not be empty
This article addresses an issue where an error occurs when updating a field group using meta:enum of property [
ECID]
. To resolve this, locate empty enum values and then replace them, run the List field groups call from postman API collection followed by these steps mentioned in this article.
Description description
Environment
Adobe Experience Platform (AEP)
Issue/Symptoms
When attempting to update a field group an error appears: Error at meta:enum of property [
ECID]
. The meta:enum can not be empty.
Resolution resolution
As a workaround, locate the empty enum values, and then replace them:
-
Run the List field groups call from postman API collection which shows you all your field groups. Make sure to set the CONTAINER_ID to Tenant. For steps, refer to List field groups in our developer documentation.
-
Search among the list of field groups and find any that contain
"meta:enum": {}
. -
For each of your field groups, follow steps 4-6.
-
Run the Retrieve a field group call using the field group ID found in the list from step 2. For steps, refer to Retrieve a field group in our developer documentation.
-
Copy the whole response. An example of a field within the field group that has this issue:
code language-none "Profile Number": { "title": "Profile Number", "description": "Profile Number", "type": "string", "meta:xdmType": "string", "required": [ ] , "meta:enum": {} },
and remove any lines that have
"meta:enum": {}
Once the
"meta:enum": {}
has been removed, it will look something like:code language-none "Profile Number": { "title": "Profile Number", "description": "Profile Number", "type": "string", "meta:xdmType": "string", "required": [ ] },
-
Copy the response (that no longer has the
"meta:enum": {}
lines). -
Run the Update a custom field group call and paste the entire edited response from step 6 and send. For steps, refer to Update a custom field group in our developer documentation.
-
This will update that specific field group to no longer receive the error. Repeat steps 4-7 for each of the field groups that have this error.
To learn about the collection that contains these calls, refer to Postman collections in our Experience Platform Overview.
Cause
An update was made to the UI preventing you from having empty enums.