Bruno Murino
07/17/2021, 9:17 AM{
"type": "http-log",
"timestamp": "2021-07-17T08:43:42.608+0000",
"level": "error",
"detail": {
"operation": {
"user_vars": {
"x-hasura-role": "admin"
},
"error": {
"path": "$.selectionSet.insert_project.args.objects",
"error": "Uniqueness violation. duplicate key value violates unique constraint \"project_tenant_id_name_key\"",
"code": "constraint-violation"
},
"request_id": "c8aedf52-53fc-4e54-9149-a1d62db270f0",
"response_size": 193,
"query": {
"variables": {
"insert_objects": [
{
"tenant_id": "712db680-3e15-469d-b6e7-eee61a60593d",
"name": "Health Monitoring",
"description": null
}
]
},
"query": "mutation($insert_objects: [project_insert_input!]!) {\n insert: insert_project(objects: $insert_objects) {\n returning {\n id\n }\n }\n}"
}
},
"http_info": {
"status": 400,
"http_version": "HTTP/1.1",
"url": "/v1alpha1/graphql",
"ip": "172.17.0.14",
"method": "POST",
"content_encoding": null
}
}
}
Kevin Kho
07/19/2021, 5:00 AMBruno Murino
07/19/2021, 9:13 AM