Received error when Authentication

Received both these messages, but not sure how to fix them.

The URL and tokens were copied from Blackbaud application page.

f9620285f2a10fa01eda1fdc77f9cfc6-huge-ca

76cc3057c072d3dee1cdf1aae5e587c7-huge-au

Comments

  • Hi John,

    I'm sorry you are having issues authenticating to an API using Postman.

    Are there any details from the “Postman Console” that you can share in regard to the error? As many details as can be provided would be helpful.

  • I was able to successfully get an access token this morning using Postman and Chrome following your screenshot. Are there any messages that are showing in your Postman Console after the failure?

    941bba4a2d5e97604cb4c68445b5ed84-origina

    Have you allowed popups in Chrome to allow the redirect back to Postman?

    6c178e80ecd6e18ba31bec313746e957-origina
  • Please keep in mind that these authorization codes and access tokens are sensative and allow access to your data. You should only use a “callback URL” (Redirect URI) that you trust. Most likely Postman will not be malicious with your authorization codes and access tokens but they will have access to them at a minimum. Also, consider that Postman will have access to your client id and secret.

  • Error: The specified credentials were not valid.

  • And I have allowed pop-ups.

    f196ae1a86c413c66b29cd4be8bf0385-origina

    John

  • That error usually means that the client id and secret provided are not correct

  • I did a copy of them from the “My application” screen. Try copied them again but still get error.

  • Hi John,

    Another, possibly simpler, option for confirming your SKY setup is to use either of the demonstration .NET applications provided with our SKYLib•NET SKY API library and SDK.

    In rate-limited mode, SKYLib.NET is free to use. You can enter your SKY credentials and make any API call to prove that everything - app IDs, rights, etc - is set up correctly. You'd need Visual Studio, preferably, but the Community edition is free. (We're thinking of creating a free little app that can do this free-standing, btw; I also sometimes have trouble with getting Postman to do what I want it to!)

    Here's a screenshot of the SKYLib demo:

    c5bcbb40aa50411c771cb0037d6c94e1-origina
    SKYLib•NET C# Demo App

    Let me know if you need more info.

    Cheers,

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

  • I deleted and recreated in postman and the authorization worked.

  • Getting error 403 on Get using the following.

  • An HTTP status code of 403 (Forbidden) generally means the correct permissions have not been granted to make that call.

    The School API role list call requires 'Academic Group Manager', 'Schedule Manager' or 'Platform Manager' role for the call to be permitted. Since you are in a demo environment, those permission would need to be applied there.

    0df90686ae8fa5c64aa7682579b80cca-origina

Categories