You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Prisma server is responding with the following error after updateEmployee call:
{
"data":null,
"errors": [{
"message": "A unique constraint would be violated on Employee. Details: Field name = email",
"locations": [],
"path":["updateEmployee"],
"code":3010,
"requestId": "local:cjrb3kwep002f07437mcq7dje"
}]
}
For my UI purposes, I would appreciate having a better reference to the field which is violating the constraint.
I also tried digging the code to have a better idea about where the error code comes from. I can only assume for now that 3010 means a unique field constraint is being violated.
The text was updated successfully, but these errors were encountered:
The Prisma server is responding with the following error after
updateEmployee
call:For my UI purposes, I would appreciate having a better reference to the field which is violating the constraint.
I also tried digging the code to have a better idea about where the error code comes from. I can only assume for now that
3010
means a unique field constraint is being violated.The text was updated successfully, but these errors were encountered: