0👍
The reason is layed out in the json response: 'reason': 'Unknown authorization header'
One possible cause is your machine’s local time. Make sure that the time on your local machine is correct, as oauth uses the current unix timestamp to sign and verify requests. Google support forum
Here’s a list of bugs logged. The first one seems to fit your case well:
- YouTube InsertVideoEntry fails with “Unknown authorization header
- Unknown authorization header, unauthorized
- ValueError after succesful account authentication
Hope this helps 🙂
Source:stackexchange.com