Error 500

Hi,


For the last hour I've been experiencing a 500 "The service is currently unavailable, please try again." response when calling https://api.sky.blackbaud.com/school/v1/users/{user_id}/relationships. This is my first time calling this method and my first time encountering this error. All other methods that I've tried so far have been working as expected.


This sounds like a Blackbaud issue to me, but I'm open to suggestions! Any help would be much appreciated.


Python 3 code:

def request_parser(request, params=""):
params=urllib.parse.urlencode(params)

try:
conn = http.client.HTTPSConnection('api.sky.blackbaud.com')
conn.request("GET", "/school/v1/%s?%s" % (request, params), "{body}", creds.headers)
response = conn.getresponse()
data = response.read()
conn.close()
except Exception as e:
print("[Errno {0}] {1}".format(e.errno, e.strerror))
return data

def get_user_relationships(uid):
params={
}

request="users/%s/relationships" % (uid)

data=request_parser(request, params)
return data

data=get_user_relationships(uid)

string=string.decode()
string=json.loads(string)
print(json.dumps(string, indent=4, sort_keys=True))



API response:


"errors": [
{
"error_code": 500,
"error_name": "Server Error",
"raw_message": "The service is currently unavailable, please try again."
}
]

Comments

  • After nearly an hour on with blackbaud support and after having been given Environment Admin access, the issue persisted. Once I was made "Platform Manager" I was able to access the API method. Hopefully this helps someone else!
  • Brian Gray
    Brian Gray Community All-Star
    Eighth Anniversary Kudos 5 First Reply bbcon 2025 Attendee Badge
    I am seeing the same thing. It is an intermittent problem. I saw it before and during the BB-ID problem, then it was resolved, then it returned yesterday. It's working at the moment (as I knock wood and cross my fingers...)


    I submitted a case (018307959) a couple of days ago. If you're still seeing the problem, you should report it too.


    It's also helpful to test it at the API endpoint reference page (Try It). That eliminates any potential problem with your own code.

Categories