Hi, there
I found the reason of this error. After creating a new product with REST API, my program(Callback script) returns a redirect request: "HTTP Header CODE 302, Location: .../api/rest/customers/:id", but the function "$oauthClient->fetch()" in the program can not execute this request correctly, it seems that it would try to retrieve the target with "POST" not "GET", so it can't get data.
I don't know what reason it is caused, I only could disable redirect in oauth ", analyze and get the new product id from dreceived header as a temporary solution.
$oauthClient->disableRedirects();
Hope it's useful for encountering same problem with me, if anybody who knows the reason please share with us, thank you very much.