question

James Kay avatar image
James Kay asked Embbnux Ji answered

AGW-404 Resource not found during OAuth flow

Hello. I am getting this error message from this URL:

authorize

{
  "errorCode" : "AGW-404",
  "message" : "Resource not found",
  "errors" : [ ]
}

I have a local copy of the ringcentral-embeddable app. My client ID is 5FrUBQjLTqSi0sU4WdcfbQ

Please would you let me know if I need to register this in some way, or what I'm doing wrong!

Script within my homepage is:

(function() {

var rcs = document.createElement("script");

rcs.src = "https://sandbox.workbooks.com/ringcentral-plugin/adapter.js?clientId=5FrUBQjLTqSi0sU4WdcfbQ&appServer=https://platform.devtest.ringcentral.com/&redirectUri=https://sandbox.workbooks.com/ringcentral-plugin/redirect.html&prefix=wb-ringcentral-widget";

var rcs0 = document.getElementsByTagName("script")[0];

rcs0.parentNode.insertBefore(rcs, rcs0);

})();


Thank you


authentication
1 |3000

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

1 Answer

Embbnux Ji avatar image
Embbnux Ji answered

Hi @James Kay You can fix this by replacing "https://platform.devtest.ringcentral.com/" with "https://platform.devtest.ringcentral.com". it is required to remove "/" from app server.

1 |3000

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