Showing results for 
Search instead for 
Did you mean: 
Surveyor II

Error when using API calls to change notifications


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 Kudos
0 Replies