Thank you for the response!
Although the above function receives the values for ānameā and āemailā.
The readout seems to have empty data properties.
POST https://site-api.datocms.com/items
[1] {
"data": {
"type": "item",
"attributes": {},
"relationships": {
"item_type": {
"data": {
"id": "OHdmMsVMT0a9NZ4aS9gjag",
"type": "item_type"
}
}
}
}
}
[1] Status: 201 (Created)
[1] {
"data": {
"id": "A8VF40cpTEO-mt1um139ag",
"type": "item",
"attributes": {
"name": "",
"email": "",
"updated_at": "2024-09-30T21:12:39.752-05:00",
"created_at": "2024-09-30T21:12:39.745-05:00"
},
"relationships": {
"item_type": {
"data": {
"id": "OHdmMsVMT0a9NZ4aS9gjag",
"type": "item_type"
}
},
"creator": {
"data": {
"id": "282504",
"type": "access_token"
}
}
},
"meta": {
"created_at": "2024-09-30T21:12:39.745-05:00",
"updated_at": "2024-09-30T21:12:39.752-05:00",
"published_at": "2024-09-30T21:12:39.786-05:00",
"publication_scheduled_at": null,
"unpublishing_scheduled_at": null,
"first_published_at": "2024-09-30T21:12:39.786-05:00",
"is_valid": true,
"is_current_version_valid": true,
"is_published_version_valid": true,
"status": "published",
"current_version": "WnYdH0H4SJSISmr_4od7vg",
"stage": null
}
},
"included": [
{
"id": "OHdmMsVMT0a9NZ4aS9gjag",
"type": "item_type",
"attributes": {
"name": "Profile",
"singleton": false,
"sortable": false,
"api_key": "profile",
"ordering_direction": null,
"ordering_meta": null,
"tree": false,
"modular_block": false,
"draft_mode_active": false,
"all_locales_required": false,
"collection_appeareance": "table",
"collection_appearance": "table",
"has_singleton_item": false,
"hint": null,
"inverse_relationships_enabled": false
},
"relationships": {
"fields": {
"data": [
{
"id": "LA9DMHChRoqEUA1hzk7MUA",
"type": "field"
},
{
"id": "QSFa-89oQ1yhUJbhhMTKnA",
"type": "field"
}
]
},
"fieldsets": {
"data": []
},
"singleton_item": {
"data": null
},
"ordering_field": {
"data": null
},
"title_field": {
"data": {
"id": "LA9DMHChRoqEUA1hzk7MUA",
"type": "field"
}
},
"image_preview_field": {
"data": null
},
"excerpt_field": {
"data": null
},
"workflow": {
"data": null
}
},
"meta": {
"has_singleton_item": false
}
}
]
}