accountType is also required. Sent from my mobile, please excuse typos!
jeffrey hasenbos <jeffrey_hasen...@hotmail.com> wrote: > >Hello, >I had a question. I run the following API command, but i get an error. The >error you will see in the end of this email. >"http://localhost:8080/client/api?command=createAccount&firstname=".$firstname."&lastname=".$lastname."&username=".$username."&password=".$password."&email=".$email." > >Error: Cannot add or update a child row: a foreign key constraint fails >(`cloud`.`user`, CONSTRAINT `fk_user__account_id` FOREIGN KEY (`account_id`) >REFERENCES `account` (`id`) ON DELETE CASCADE) >Do you know a solution? >Kind Regards, >Jeffrey