[ x] I have read intro post: About the Installation Issues category
[ x] I have read the tutorials, help and searched for similar issues
[ x] I provide relevant information about my server (component names and versions, etc.)
[ x] I provide a copy of my logs and healthcheck
[ x] I describe the steps I have taken to trouble shoot the problem
[ x] I describe the steps on how to reproduce the issue
Hi, I’m communicating with passbolt API and I’m able to get resources,check secret and delete it if needed. Sadly I’m stuck with creating new resource. As I understand I should sent in POST request Json request. I’m doing this in php like below but as respond I got 400 and in logs I see.
Could not validate resource data. Request URL: /resources.json?api-version=v2
$data = json_encode(array( "name"=>$name, "username"=>$username,"uri"=>$uri, "secrets"=>array("user_id"=>$user_id,"data"=>$encrypted_secret)));
Sadly there is not much info in logs to finish it.