Python Devs Webinar - Sep 16, 2021

ActiveState’s support thread for attendees of our upcoming Sep 16 Platform Workshop

Workshop for Python Developers: Fundamentals for improving Python productivity and security

Learn how Python developers, from individuals to Fortune 500 employees, can simplify dependency management, vulnerability remediation and building packages from source code in this hands-on workshop.

Thursday, September 16, 2021: 10.00am – 11.00am Pacific Time (1.00pm – 2.00pm Eastern Time)

Sign up here to join

1 Like

Hi everyone! Thank you for attending todays workshop. :slight_smile:

A user reached out with a specific issue but I will post it here for visibility.

They ran into this error message:

File "C:\Users\Administrator\AppData\Local\activestate\cache\d640f80d\lib\site-packages\requests\", line 978, in check_header_validity
    raise InvalidHeader("Invalid return character or leading space in header: %s" % name)
requests.exceptions.InvalidHeader: Invalid return character or leading space in header: Authorization

This is due to a trailing/leading invalid character when you typed in your credentials at the “state auth” stage.

To resolve this you’ll have to log back in and type your username/password again.

  1. state auth logout
  2. close your terminal
  3. open a new terminal
  4. state auth again and type very carefully