Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Lujain36
    @Lujain36
    Hi
    I’m facing some problems in firebase using python and I hope you could help in this.
    I’ve list of strings and I need to store each element of the list in firebase but, this what I got “firebase_admin.exceptions.InvalidArgumentError: Invalid data; couldn't parse JSON object, array, or value.”
        for i in indusry_list:
            name= i
            cpc="11"
            serp="11"
            vulme="11"
            keyword={ 
                name:{
                "cpc": cpc,
                "serp": serp,
                "volume" : vulme}
            }
    
            keywords.update(keyword)
    
    
        Industry["keywords"].update(keywords)
        SUPERHEROES2 = db.reference('Industries/')
        SUPERHEROES2.push(Industry)
    
        #end of for loop
    this is the code