kylejginavan / youtube_it

An object-oriented Ruby wrapper for the YouTube GData API
http://groups.google.com/group/ruby-youtube-library
595 stars 223 forks source link

returming token value nil #239

Open prmsh99 opened 10 years ago

prmsh99 commented 10 years ago

in video.rb file while executing the following line..... yt_session.upload_token(video_options(params), nexturl)

returning nil value which makes output..................... NoMethodError in VideosController#upload

You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.[]

please solve this issue