error when trying to call advanced list

Hello everyone!

BB EMS API newbie here. So I've successfully run my little Google app script of pulling advanced list data from BB EMS to a Google spreadsheet. However only one day after that it stopped working. As far as I know nothing has been changed to the script or the environment.

I'm getting the following prompt when running the Google script:

url = https://oauth2.sky.blackbaud.com/token status - 400

url = https://api.sky.blackbaud.com/school/v1/lists/advanced/161409?page=1 status - 401

list 161365 pages = 1 ind = n/a

Looks to me that the status should be 200, and the ind in the return line of the list should not be n/a. Something looks wrong with the authentication again.

Has anyone ever seen this before? Any help is much appreciated.

Comments

  • Nick Marchese
    Nick Marchese Community All-Star
    Seventh Anniversary Kudos 1 Name Dropper Participant

    @Arthur Yao I have a vague idea but aren't sure without digging into it with you. I also have done my fair share of hitting my head against the wall with this. Want to book a time and we can look at it over Meet together? All the best!

  • @Nick Marchese Nick, I really appreciate your guidance in helping me resolving the problem, which basically is due to inactivity of the script after a while, and resolved by a refresh of authentication. Thanks so much again, cheers.

Categories