Getting "Request unsuccessful" in response when tring to get refresh_token

Getting "Request unsuccessful" in response when tring to get refresh_token but not getting error code.

What headers and parameters should be sent.

Comments

  • Hi John,

    Sorry to hear you are having problems authorizing. Have you been able to review the documentation for authorizing with SKY API?

  • Fixed some issue with the request, but still having the same message. Is there a way to find out what is causing the “Request unsuccessful. Incapsula incident ID”

  • Hi John,

    I am not seeing failed requests in our logs. Can you provide some information about what your requests look like?

  • Do you need the Application ID?

  • I am assuming that it was application "JCG GET TEST", which has successfully created refresh tokens today. Any information you could provide about how you are making the request would be helpful. Did this stop working recently or are you trying something new?

  • Yes that is it. I have been able to request roles from the School API and get a valid response, but have been unable to get a valid response when I request a Refresh token. I am making this request in Oracle 19C with PLSQL (apex_web_service.make_rest_request)) I have never been able to get a valid response for a refresh token.

  • Hi John,

    You're welcome to download our SKYLib•NET SKY API code library and SDK which includes C# and VB demo applications (with source code) which you can use to "sanity check" your own app's code against a “known good” app.

    Just enter your credentials and make some test calls. Some School API calls are already set up in the demos.

    (SKYLib.NET is free for this purpose, working in rate-limited mode of 1 call/s. You can license it for an annual fee to take you up to the fastest call rate, currently 10 call/s.)

    Cheers,

    Steve Cinquegrana | CEO and Principal Developer | Protégé Solutions

  • John, Can you share the Incapsula Incident ID that the error message refers to?

  • Incapsula incident ID: 76000380568906016-1185922865083189643

  • What is the HTTP status code that is returned?

  • This is all I get back.

    <html style="height:100%"><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3"></script></head><body style="margin:0px;height:100%"><iframe id="main-iframe" src="/_Incapsula_Resource?CWUDNSAI=24&xinfo=11-267470114-0%200NNN%20RT%281638376599734%2032%29%20q%280%20-1%20-1%200%29%20r%280%20-1%29%20b1&incident_id=76000380568906016-1185922865083189643&edet=3&cinfo=03000000&pe=100001&rpinfo=0&mth=POST" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 76000380568906016-1185922865083189643</iframe></body></html>

  • Should the Status be in the results?

  • Hi John,

    Sorry it's been a while. Any interest in trying this again? We have made some changes on our side that should making figuring this out a little easier.

  • Yes, would like to figure it out.

Categories