I need to use the model id type as a string.
But when I call method post, to add a new model, I got this error: "Collection 'model' id type is non-numeric or unknown. Can only generate numeric ids."
{
"body": {
"error": "Collection 'model' id type is non-numeric or unknown. Can only generate numeric ids.",
"__proto__": { }
},
"headers": { },
"status": 422,
"statusText": "Unprocessable Entity",
"url": "api/models",
"__proto__": { },
}
I need to use the model id type as a string. But when I call method
post
, to add a new model, I got this error: "Collection 'model' id type is non-numeric or unknown. Can only generate numeric ids."