question

surjit-singh3493 avatar image
surjit-singh3493 asked surjit-singh3493 commented

please help for fax

Exception: Unauthorized for this grant type SDK HTTP Error at https://platform.devtest.ringcentral.com/restapi/oauth/token Response text: { "error" : "unauthorized_client", "error_description" : "Unauthorized for this grant type" } Previous: Response has unsuccessful status #0 phar:///home4/crownfoo/public_html/foodondeal/ringcentral/demo/ringcentral.phar/ringcentral/ringcentral-php/src/Platform/Platform.php(214): RingCentral\SDK\Http\Client->send(Object(RingCentral\Psr7\Request)) #1 phar:///home4/crownfoo/public_html/foodondeal/ringcentral/demo/ringcentral.phar/ringcentral/ringcentral-php/src/Platform/Platform.php(301): RingCentral\SDK\Platform\Platform->sendRequest(Object(RingCentral\Psr7\Request), Array) #2 phar:///home4/crownfoo/public_html/foodondeal/ringcentral/demo/ringcentral.phar/ringcentral/ringcentral-php/src/Platform/Platform.php(123): RingCentral\SDK\Platform\Platform->requestToken('/restapi/oauth/...', Array) #3 /home4/crownfoo/public_html/foodondeal/ringcentral/demo/sms.php(20): RingCentral\SDK\Platform\Platform->login

getting started
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Tyler Liu avatar image
Tyler Liu answered surjit-singh3493 commented
Please refer to this reply:  https://github.com/ringcentral/ringcentral-php/issues/39#issuecomment-242907546

It probably means that your app doesn't support the grant type you specified.
1 comment
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys