When we are trying to pass the API key we are getting the HTTP Error 401(UnAuthorized error).
EX: bc = Basecamp('https://example.basecamphq.com', 'API Key') which I took from the basecamp.
I replaced the API Key with the "base64.encodestring('%s:%s' % (username, password))" and I am successfully authenticated.
Now I am passing below information but getting Http Error 422 (Unprocessable Entity) while using "create_message()".
project_id = XXXXX
category_id = XXXXXX
title = 'Title Here'
body = 'This is from Python Script'
notify = [XXXXX, XXXXXXX]
data = bc.create_message(project_id, category_id, title, body, notify=notify)
Thanks in advance. Please look into the issue and do the needful.