I am getting an Firebase Error: "Unknown field filter op"

Does anyone know what the error "FirebaseError: Unknown field filter op" means?

I working on a Vue project where I store playlists in a Firestore Database, and I want to make CRUD operations.
This error pops up when I try to recieve a single document from the database.
I am not sure where to look for the error.

<template>
    <div v-if="playlist">
        <h2> {{ playlist.title }} </h2>
    </div>
</template>

<script>

import db from '../firebase/config'
export default {

  data() {
      return {
          playlist: null
      }
  },
  created(){
      let ref = db.collection('playlists').where('slug', '=', this.$route.params.playlist_slug)
      ref.get().then(snapshot => {
          snapshot.forEach(doc => {
              this.playlist = doc.data()
              this.playlist.id = doc.id
          })
      })
  }
 
}
</script>

<style scoped>

</style>

94 thoughts on “I am getting an Firebase Error: "Unknown field filter op"”

  1. Hey I am so excited I found your webpage, I really found you
    by accident, while I was browsing on Yahoo for something else, Nonetheless I am here now and would just like to
    say cheers for a tremendous post and a all round exciting blog (I also love the theme/design), I
    don’t have time to read it all at the moment but I have
    saved it and also included your RSS feeds, so when I have
    time I will be back to read a great deal more, Please do keep up the excellent jo. http://antiibioticsland.com/Flagyl_ER.htm

    Reply

Leave a Comment