alfredoreduarte / installthisapp-api

2 stars 0 forks source link

Mongo::Error::OperationFailure: exception: bad query: BadValue $nin needs an array (16810) #12

Closed alfredoreduarte closed 7 years ago

alfredoreduarte commented 7 years ago

https://sentry.io/installthisapp/api-production/issues/238683703/

Mongo::Error::OperationFailure: exception: bad query: BadValue $nin needs an array (16810)
  mongo/operation/result.rb:256:in `validate!'
    !successful? ? raise(Error::OperationFailure.new(parser.message)) : self
  mongo/operation/executable.rb:37:in `block in execute'
    result_class.new(connection.dispatch([ message(server) ], operation_id)).validate!
  mongo/server/connection_pool.rb:107:in `with_connection'
    yield(connection)
  mongo/server.rb:242:in `with_connection'
    pool.with_connection(&block)
  mongo/operation/executable.rb:35:in `execute'
    server.with_connection do |connection|
...
(73 additional frame(s) were not displayed)

Mongo::Error::OperationFailure: exception: bad query: BadValue $nin needs an array (16810)