The OAuth2::Client#request method in the OAuth2 library looks for header
values using the hash key :headers, not :header.
In version 0.7.1 of the OAuth2 library, this can be seen in OAuth2::Client#request:88.
Correct the headers hash key for OAuth2
Yes, wgibbs is right. My issue with upload title got solved when i change that :header to :headers
Nice work @wgibbs .My Issue with title upload got solved as i applied your changes. Thankyou
Thanks for the fix. Pulled.