Migrated from Redmine #232 | Author: jasmine JJ
Status: New | Priority: Normal | Created: 2018-09-10
Hi there,
I’m using setStatus api with this request
{"jsonrpc":"2.0","method":"setStatus","id":"1","params":{"statusId":2,"id":365}}
( statusId: 2 - client arrived)
and I receive this response:
{"error":{"code":-32000,"message":"SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`em_truequit`.`plugin_status_sheduler`, CONSTRAINT `plugin_status_sheduler_ibfk_1` FOREIGN KEY (`status_id`) REFERENCES `plugin_status` (`id`))","data":null},"id":"1","jsonrpc":"2.0"}
Why was that? Thanks