Use str(e) to read error string without authorization issues.