MyPureCloud/terraform-provider-genesyscloud

genesyscloud_architect_datatable -API Error: 400 - Field 'identifier' is missing

Closed this issue · 3 comments

�[0m�[1mPlan:�[0m 0 to add, 1 to change, 0 to destroy.
�[0m
�[0m�[1mmodule.classifier_datatable.genesyscloud_architect_datatable.CICD_TestQueueMapping: Modifying... [id=c9447162-8b67-4d51-9cbd-b4b0b0bdd45c]�[0m�[0m
�[31mâ•·�[0m�[0m
�[31m│�[0m �[0m�[1m�[31mError: �[0m�[0m�[1mFailed to update datatable CICD_TestQueueMapping: API Error: 400 - Field 'identifier' is missing from the proposed schema (24a81822-be36-40b3-a84f-8825cd36851f)�[0m

As per document Field 'identifier' is not mandate field where us it is working only we specify the field.

Hi, can you please share the config you used to cause this error.

Below is the config i used attached as image.

image
and it was worked , later today i removed the identifier from properties and worked correctly.

I've checked the documentation for updating datatables and it days the following:

Updates a specific datatable by id. Updates a schema for a datatable with the given datatableId -updates allow only new fields to be added in the schema, no changes or removals of existing fields.

So basically, properties cannot be removed from a schema.

I'll update this description for datatable properties with this message.