Getting UbidotsBulkOpeartionError in python running on RaspberryPi

I am getting UbidotsBulkOperation error occasionally in my python 3.4 program whilst using the ubidots apiclient.

I have tried to catch the error with try except UbidotsBulkOperation as e, as recommended on pypi ubiodts. However when the error is raised it is coming back with this line as not defined. I have checked my spelling etc. but don’t know how to fix the problem.

The program might send data perfectly for a day to ubidots but then this error is crashing the program.

Any help appreciated.