game /DELETE: You do not have access to this route. ServiceClientException error

I get this error when using the delete endpoint

"message":"You do not have access to this route.",
"error_code":401,
"error_name":"ServiceClientException",
"raw_message":"You do not have access to this route."


Comments

  • Mary Harden Rudisill
    Mary Harden Rudisill Blackbaud Employee
    Eighth Anniversary Kudos 2 Name Dropper Participant

    When you get a 401, I think that usually means that your API user does not have the rights that are needed to access the data provided by the endpoint. In this case, I don't see Role info on the Delete endpoint, but I see it on the Patch and Post endpoints, so I would assume that you would need the same rights for the Delete.

    https://developer.sky.blackbaud.com/docs/services/school/operations/V1AthleticsTeamsByTeam_idSchedulePatch

    The above reference page has this line: Requires the 'Team Schedule Manager', 'Coach', 'Athletic Group Manager' or 'Pending Coach' role in the K12 system.

  • Thank you! It was related to something else. With the setting of the client. More specifically, the client has a different setup in Blackbaud than most of the schools in that he does not use the typical groups to manage their teams. We needed the Blackbaud development team involved to fix this.

Categories