AttributeError: 'str' object has no attribute 'decode' python3 code example
Example: attributeerror: 'str' object has no attribute 'decode'
# You are trying to decode an object that is already decoded
# You have a str, there is no need to decode from UTF-8 anymore
# Simply drop the part
.decode('utf-8')