You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having the hardest time tracking down a bug in using this library for save_url and save_url_check_job_status.
I can't recreate it, but while it's running in background jobs (with sidekiq), save_url_check_job_status will throw NoMethodError: undefined method '[]' for nil:NilClass tracing to media_info.rb:22:
So sometimes when save_url_check_job_status is called, data['metadata'] is nil. Is this a problem with this library, or could it be that I'm calling it in a strange way?
The text was updated successfully, but these errors were encountered:
thanks for reporting this. The issue has been fixed and I'll release a new gem version today.
It was difficult to track down because you had to catch it in the short lapse of time Dropbox needs to generate the media metadata.
The problem was that we were getting a pending tag as metadata when it hadn't been generated yet. This is specified in the documentation so it's a pity we missed it when we implemented this.
I'm having the hardest time tracking down a bug in using this library for
save_url
andsave_url_check_job_status
.I can't recreate it, but while it's running in background jobs (with sidekiq),
save_url_check_job_status
will throwNoMethodError: undefined method '[]' for nil:NilClass
tracing tomedia_info.rb:22
:dropbox_api/lib/dropbox_api/metadata/media_info.rb
Line 22 in 163f3a5
So sometimes when
save_url_check_job_status
is called,data['metadata']
is nil. Is this a problem with this library, or could it be that I'm calling it in a strange way?The text was updated successfully, but these errors were encountered: