I’m not sure what SDK you are using, but that looks like PHP; I’m assuming the error message means that you are lacking a Client Id / Client Secret when trying to make a call to get an Access Token.
I would recommend that you read the documentation for the SDK, as well as the OAuth documentation available on our developer site.