Hi,
Please try passing a file object like this:
return client.categoryUser.addFromBulkUpload(file(filename, 'rb'), bulk_upload_data, category_user_data)
instead of the literal file path:
return client.categoryUser.addFromBulkUpload(filename, bulk_upload_data, category_user_data)
Thanks,