You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by jeffrey hasenbos <je...@hotmail.com> on 2013/01/10 17:34:10 UTC

API question

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