WGBH-MLA / stock-sales-2

Public Stock Sales Site
Apache License 2.0
0 stars 2 forks source link

Update sony_ci_api Gem #361

Open jasoncorum opened 5 years ago

jasoncorum commented 5 years ago

Done when:

foglabs commented 5 years ago

Ingest script fails with this error:

HEADERS: {"Authorization"=>"Bearer 4e1e823b68014cfb9569767e223ba5db", "Content-Type"=>"application/json"}
POST: {"assetIds":["5cf8d001d37241a59d07d594010bdab9"],"fields":["thumbnails","proxies"]}
RESPONSE: {"items":[],"count":0,"errorCount":1,"code":"BulkOperationFailed","message":"The bulk operation failed. See the errors array for more information.","errors":[{"id":"5cf8d001d37241a59d07d594010bdab9","kind":"Asset","errorCode":"AssetNotFound","errorMessage":"Asset not found."}]}
    from /Users/henry_neels/.rvm/gems/ruby-2.2.3/gems/sony-ci-api-0.1.1/lib/sony-ci-api/sony_ci_admin.rb:65:in `multi_details'
    from /Users/henry_neels/.rvm/gems/ruby-2.2.3/gems/sony-ci-api-0.1.1/lib/sony-ci-api/sony_ci_admin.rb:42:in `multi_details'
    from /Users/henry_neels/gbh/stock-sales-2/scripts/lib/converter.rb:72:in `refresh_cache'
    from /Users/henry_neels/gbh/stock-sales-2/scripts/lib/converter.rb:14:in `initialize'
    from scripts/lib/ingester.rb:20:in `new'
    from scripts/lib/ingester.rb:20:in `ingest'
    from scripts/lib/ingester.rb:37:in `block in <main>'
    from scripts/lib/ingester.rb:36:in `each'
    from scripts/lib/ingester.rb:36:in `<main>'

Testing on current master shows that this doesn't have anything to do with the gem update.