Python Data Stream Retrievals | datorama.log() causes error “Unicode-objects must be encoded before hashing”
Trailblazer Community

Python Data Stream Retrievals | datorama.log() causes error “Unicode-objects must be encoded before hashing”

Marketing Cloud Intelligence , Marketing Cloud Intelligence Integrations

Last updated 2022-05-26 ·Reference W-11168693 ·Reported By 2 users

In Review

Summary
Python connector script validation fails with error "Unicode-objects must be encoded before hashing" when script includes datorama.log()

Repro
1. Create new python datastream
2. Add datorama.log() in your python script
3. Click 'Next' button
4. Connection Validation fails with the error

Workaround
Exclude datorama.log() function from python script

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.