Invalid field(s) in the payload while adding person

I added custom fields using personfield API but now trying to add the person using API but it is throwing an error:

Invalid field(s) in the payload: uuid, ispgwbiuser, allUsers, registerednoappointment, nocredits, unusedcredits, role, status"

For the reference my keys are added on personfield API successfully and here is the response.

{
    "success": true,
    "data": [
        {
            "id": 13,
            "key": "id",
            "name": "ID",
            "group_id": null,
            "order_nr": 0,
            "field_type": "int",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 1,
            "key": "name",
            "name": "Name",
            "group_id": null,
            "order_nr": 0,
            "field_type": "varchar",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": true,
            "important_flag": true,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "use_field": "id",
            "link": "/person/",
            "mandatory_flag": true
        },
        {
            "id": 2,
            "key": "label",
            "name": "Label",
            "group_id": null,
            "order_nr": 0,
            "field_type": "enum",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": true,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "options": [
                {
                    "id": 5,
                    "label": "Customer",
                    "color": "green"
                },
                {
                    "id": 6,
                    "label": "Hot lead",
                    "color": "red"
                },
                {
                    "id": 7,
                    "label": "Warm lead",
                    "color": "yellow"
                },
                {
                    "id": 8,
                    "label": "Cold lead",
                    "color": "blue"
                }
            ],
            "mandatory_flag": false
        },
        {
            "id": 3,
            "key": "phone",
            "name": "Phone",
            "group_id": null,
            "order_nr": 0,
            "field_type": "phone",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": true,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": false
        },
        {
            "id": 4,
            "key": "email",
            "name": "Email",
            "group_id": null,
            "order_nr": 0,
            "field_type": "varchar",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": true,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": false
        },
        {
            "id": 5,
            "key": "add_time",
            "name": "Person created",
            "group_id": null,
            "order_nr": 0,
            "field_type": "date",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 6,
            "key": "update_time",
            "name": "Update time",
            "group_id": null,
            "order_nr": 0,
            "field_type": "date",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 7,
            "key": "org_id",
            "name": "Organization",
            "group_id": null,
            "order_nr": 0,
            "field_type": "org",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": true,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "use_field": "org_id",
            "link": "/organization/",
            "autocomplete": "org_autocomplete",
            "display_field": "org_name",
            "mandatory_flag": false
        },
        {
            "id": 8,
            "key": "owner_id",
            "name": "Owner",
            "group_id": null,
            "order_nr": 0,
            "field_type": "user",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": true,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "use_field": "owner_id",
            "display_field": "owner_name",
            "mandatory_flag": true
        },
        {
            "id": 9,
            "key": "open_deals_count",
            "name": "Open deals",
            "group_id": null,
            "order_nr": 0,
            "field_type": "double",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 10,
            "key": "visible_to",
            "name": "Visible to",
            "group_id": null,
            "order_nr": 0,
            "field_type": "visible_to",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": true,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "options": [
                {
                    "id": 1,
                    "label": "Item owner"
                },
                {
                    "id": 3,
                    "label": "All users"
                }
            ],
            "mandatory_flag": true
        },
        {
            "id": 11,
            "key": "next_activity_date",
            "name": "Next activity date",
            "group_id": null,
            "order_nr": 0,
            "field_type": "date",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 12,
            "key": "last_activity_date",
            "name": "Last activity date",
            "group_id": null,
            "order_nr": 0,
            "field_type": "date",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 14,
            "key": "won_deals_count",
            "name": "Won deals",
            "group_id": null,
            "order_nr": 0,
            "field_type": "int",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 15,
            "key": "lost_deals_count",
            "name": "Lost deals",
            "group_id": null,
            "order_nr": 0,
            "field_type": "int",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 16,
            "key": "closed_deals_count",
            "name": "Closed deals",
            "group_id": null,
            "order_nr": 0,
            "field_type": "int",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 17,
            "key": "activities_count",
            "name": "Total activities",
            "group_id": null,
            "order_nr": 0,
            "field_type": "int",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 18,
            "key": "done_activities_count",
            "name": "Done activities",
            "group_id": null,
            "order_nr": 0,
            "field_type": "int",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 19,
            "key": "undone_activities_count",
            "name": "Activities to do",
            "group_id": null,
            "order_nr": 0,
            "field_type": "int",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 20,
            "key": "email_messages_count",
            "name": "Email messages count",
            "group_id": null,
            "order_nr": 0,
            "field_type": "int",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 21,
            "key": "picture_id",
            "name": "Profile picture",
            "group_id": null,
            "order_nr": 0,
            "field_type": "picture",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 22,
            "key": "last_incoming_mail_time",
            "name": "Last email received",
            "group_id": null,
            "order_nr": 0,
            "field_type": "date",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 23,
            "key": "last_outgoing_mail_time",
            "name": "Last email sent",
            "group_id": null,
            "order_nr": 0,
            "field_type": "date",
            "json_column_flag": false,
            "add_time": "2023-10-25 06:17:24",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": false,
            "add_visible_flag": false,
            "important_flag": false,
            "bulk_edit_allowed": false,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": true
        },
        {
            "id": 24,
            "key": "first_name",
            "name": "First name",
            "group_id": null,
            "order_nr": 0,
            "field_type": "varchar",
            "json_column_flag": false,
            "add_time": "2023-10-25 09:31:58",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": true,
            "add_visible_flag": false,
            "important_flag": true,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": false
        },
        {
            "id": 25,
            "key": "last_name",
            "name": "Last name",
            "group_id": null,
            "order_nr": 0,
            "field_type": "varchar",
            "json_column_flag": false,
            "add_time": "2023-10-25 09:31:58",
            "update_time": null,
            "last_updated_by_user_id": null,
            "edit_flag": false,
            "details_visible_flag": true,
            "add_visible_flag": false,
            "important_flag": true,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": false,
            "active_flag": true,
            "mandatory_flag": false
        },
        {
            "id": 26,
            "key": "f5e5c19c4c25c5e44b1611b99dc40db8513b8807",
            "name": "uuid",
            "group_id": null,
            "order_nr": 1,
            "field_type": "varchar",
            "json_column_flag": true,
            "add_time": "2023-10-25 11:05:45",
            "update_time": "2023-10-25 11:05:45",
            "last_updated_by_user_id": 18923087,
            "edit_flag": true,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": false,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": true,
            "active_flag": true,
            "mandatory_flag": false
        },
        {
            "id": 27,
            "key": "beeca54745ae86e8ce454c3e2dea96429b244692",
            "name": "ispgwbiuser",
            "group_id": null,
            "order_nr": 2,
            "field_type": "enum",
            "json_column_flag": true,
            "add_time": "2023-10-25 11:08:18",
            "update_time": "2023-10-25 11:08:18",
            "last_updated_by_user_id": 18923087,
            "edit_flag": true,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": false,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": true,
            "active_flag": true,
            "options": [
                {
                    "id": 15,
                    "label": "0"
                },
                {
                    "id": 16,
                    "label": "1"
                }
            ],
            "mandatory_flag": false
        },
        {
            "id": 28,
            "key": "998156c5b63cb03c512dc90982e5be79f6fb555d",
            "name": "nocredits",
            "group_id": null,
            "order_nr": 3,
            "field_type": "enum",
            "json_column_flag": true,
            "add_time": "2023-10-25 11:08:34",
            "update_time": "2023-10-25 11:08:34",
            "last_updated_by_user_id": 18923087,
            "edit_flag": true,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": false,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": true,
            "active_flag": true,
            "options": [
                {
                    "id": 17,
                    "label": "0"
                },
                {
                    "id": 18,
                    "label": "1"
                }
            ],
            "mandatory_flag": false
        },
        {
            "id": 29,
            "key": "58820ab9a8513eb86e12022ae37e2f510e1b4aca",
            "name": "unusedcredits",
            "group_id": null,
            "order_nr": 4,
            "field_type": "enum",
            "json_column_flag": true,
            "add_time": "2023-10-25 11:08:42",
            "update_time": "2023-10-25 11:08:42",
            "last_updated_by_user_id": 18923087,
            "edit_flag": true,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": false,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": true,
            "active_flag": true,
            "options": [
                {
                    "id": 19,
                    "label": "0"
                },
                {
                    "id": 20,
                    "label": "1"
                }
            ],
            "mandatory_flag": false
        },
        {
            "id": 32,
            "key": "c4ae8de02afce50e89b3a5fa93d6e4f8a0479a68",
            "name": "role",
            "group_id": null,
            "order_nr": 7,
            "field_type": "enum",
            "json_column_flag": true,
            "add_time": "2023-10-25 11:10:31",
            "update_time": "2023-10-25 11:10:31",
            "last_updated_by_user_id": 18923087,
            "edit_flag": true,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": false,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": true,
            "active_flag": true,
            "options": [
                {
                    "id": 27,
                    "label": "Patient"
                },
                {
                    "id": 28,
                    "label": "Doctor"
                },
                {
                    "id": 29,
                    "label": "Care Coordinator"
                },
                {
                    "id": 30,
                    "label": "Hr"
                },
                {
                    "id": 31,
                    "label": "Admin"
                }
            ],
            "mandatory_flag": false
        },
        {
            "id": 33,
            "key": "5c337dcdbfcb95f1f7fc7176f8d8a8659b7e0e68",
            "name": "status",
            "group_id": null,
            "order_nr": 8,
            "field_type": "enum",
            "json_column_flag": true,
            "add_time": "2023-10-25 11:11:04",
            "update_time": "2023-10-25 11:11:04",
            "last_updated_by_user_id": 18923087,
            "edit_flag": true,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": false,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": true,
            "active_flag": true,
            "options": [
                {
                    "id": 32,
                    "label": "ACTIVE"
                },
                {
                    "id": 33,
                    "label": "INACTIVE"
                }
            ],
            "mandatory_flag": false
        },
        {
            "id": 34,
            "key": "f0f1bccac4eb3c9095a6caab3d1d844d8e9d82ef",
            "name": "registerednoappointment",
            "group_id": null,
            "order_nr": 9,
            "field_type": "enum",
            "json_column_flag": true,
            "add_time": "2023-10-25 11:12:10",
            "update_time": "2023-10-25 11:12:10",
            "last_updated_by_user_id": 18923087,
            "edit_flag": true,
            "details_visible_flag": true,
            "add_visible_flag": true,
            "important_flag": false,
            "bulk_edit_allowed": true,
            "filtering_allowed": true,
            "sortable_flag": true,
            "searchable_flag": true,
            "active_flag": true,
            "options": [
                {
                    "id": 34,
                    "label": "0"
                },
                {
                    "id": 35,
                    "label": "1"
                }
            ],
            "mandatory_flag": false
        }
    ],
    "additional_data": {
        "pagination": {
            "start": 0,
            "limit": 50,
            "more_items_in_collection": false
        }
    }
}
````Preformatted text`

Hi @ashutosh_tcon
Welcome to the dev community :wave:.

When using custom fields in the API, you need to use their hashes (returned as a key property), not their names.

So in your example, instead of specifying the value of field uuid, you need to specify the value of field f5e5c19c4c25c5e44b1611b99dc40db8513b8807 etc.

You can read more about how to work with custom fields in API in our developer documentation.