save(callback)), which Mongoose 7 removed. The save is rejected and the unhandled rejection terminates the API process (Node 22); the client gets no response.infra-manage-create permission.authorization: ********************{
"name": "SMF",
"category": "Fibra",
"connectors": [
{
"name": "LC",
"label": "LC/UPC",
"isStandard": true
}
]
}curl --location 'https://qa-api.kiolinkapp.com/v1/infra/wire' \
--header 'authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "SMF",
"category": "Fibra",
"connectors": [
{
"name": "LC",
"label": "LC/UPC",
"isStandard": true
}
]
}'name is reported with this status and a message body.{
"message": "Field \"name\" is required"
}