PHP SDK REST API update note error


$item = $api->notes()->find($id);
$item->body = 'world';
$item->title = 'hello';

results in

Client error: PATCH resulted in a 400 Bad Request response:
{“message”:“Unrecognized property: id”}


toArray returns all field and looks like update endpoint throw the exception if you add any extra fields

where do I submit the bug? on GitHub?

1 Like