[php] Can not add new Lead REST API

object(FrappeClient)#1 (12) {
[“errorno”]=>
int(0)
[“error”]=>
NULL
[“body”]=>
string(172) "
generate error i don’t know what i missing…

Can you share the full script via gist.github.com?