Error when using API calls to change notifications

sharmen_ibrahim
Community Explorer

Hi,

I'm using API calls to change a notification setting for all users in our test Canvas environment. I have my CSV lists and python script ready to go but when I use cmd to execute the python script, I'm getting this error: 

HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //MyInstiturtionTestURL//api/v1/users/self/communication_channels/email/"User Email"/notification_preferences?as_user_id=sis_user_id:xxxxxxx (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000171E16F3C70>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

 

Any idea how this can be fixed? 

0 Likes