Firebase Account Creation Failure Without an Error


Warning: ksort() expects parameter 1 to be array, object given in /home/doug1248/public_html/wp-content/plugins/yet-another-related-posts-plugin/classes/YARPP_Cache.php on line 465

Why I Decided to Use Firebase, and an Interesting Error I Got Because of 3 Characters

Before I get into the Firebase error I got, or more appropriately the error I didn’t get but should have gotten, lets discuss why I chose Firebase in the first place.

firebaseI recently decided to use Firebase to do authentication and database storage for a few apps I am working on. Both for myself and some freelance clients. Firebase was my choice for three reasons:

  1. The backend for the auth and database storage is already done and well tested.
  2. I planned to sell the apps, so paying money for Firebase if I go over their free limits isn’t a big deal.
  3. Parse is no longer an option. I had been planning to use it for these apps for a while and was disappointed to find out it was being discontinued.

While researching Parse alternatives, I came across a tutorial on Ray Wenderlich’s site, and became intrigued by Firebase. Finding out it was a Google product increased my interest, since in my experience Google puts out fairly good products.

So, after doing a little research, I decided upon Firebase and set to work creating an abstract project. Once done I’m turning it into a framework, and then a cocoapod, for use in future apps. This app would do user login/authentication, user account creation, password reset requests, and database communication.

My Journey With Firebase

simulator-screen-shot-oct-13-2016-3-57-56-pmFirst I started working on the sign in screen and user creation screen.

The UI is pretty simple for both. It is just a series of TableViewCell’s with text inputs used to create, or sign in to their account. I had to add some extra inputs on the creation screen because I want to add new users to my email list unless they opt out.

Because I planned on the entire project being used for multiple projects in the future, it was fairly simple to abstract everything out and make the data collected by the app adjustable by simply changing certain constants all contained within a specific file.

Now that I have everything abstracted, but also concrete by setting the specific constants to what I plan to use for several apps, I was ready to finally test creating an account. Once I had an account created I could start testing the login screen – an important thing to note here is that I didn’t want to create an account through the webpage console for Firebase, I wanted to do it solely through the app … remember this point because it become significant.

simulator-screen-shot-oct-13-2016-3-58-02-pmTesting the Account Creation

So, I’m ready to go, run the app click the account creation button, and fill out the form.

Because I am doing this on my phone, I really dont want to type all my actual information out. So I used strings like “asd” for both names – the name fields were just random letters. The email was “doug@doug.com” because it was quick and much easier to type than my real email.

The last part of the form is a password which I didn’t want a full, long, real password for testing, so I used “bim” because it was short and I could remember it.

I finally clicked “Create Account” and waited for the magic, which never happened.

Dang! Now I get to pore through documentation and find out whats going on.

What Went Wrong, and What I Did to Fix it

Usually the Google machine and Stack Overflow keep me going. If something doesn’t work, they almost always have the answer. This moment marks the second time I’ve been let down by the two of them. Though SO did eventually rescue me from the first one, but I had to actually ask a question instead of just search through answers.

Firebase documentation states specifically that if there is no error returned by the create account call, then the account was created successfully. The only problem was I was getting no error, nor was the account being created! I FRIGGIN BROKE FIREBASE!?!?!

Almost, but not exactly. After searching for multiple hours for a solution, and finding zero helpful information, I accidentally stumbled upon the problem. I tried to create the same account on the website – the thing I wanted to avoid doing – and got a freaking error.

What The Crap Google! Here I am not being sent an error – but the website is throwing an error. Everything was the same on the app and the website.

So, what went wrong you may be asking yourself … The password was the problem.

Firebase Password Documentation

The Firebase docs say that any password authentication needed to be done by me before creating the account. For these particular apps I am currently working on, I really don’t care if people use a 1 character password – so I assumed that since it was left to me, there were no restrictions placed by Google, but there are.

Firebase passwords must be 6 characters or more. This is the error message I finally got while trying to create a password online. Tried this in the app and bam, works like a charm.

Why oh why does this not throw an error – or at least have a mention in the documentation somewhere. I am actually going to write Google about the issue and ask them to update the documentation or cause an error to be thrown by the app.

In the meanwhile I am putting this here – as well as Stack Overflow. That way any other unsuspecting people can find a possible solution to their problem.

If you like what you see and want to keep updated, as well as be informed about when I release new freebies, sign up for my newsletter below for more tips and advice on growing an app business.

#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */

(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[1]=’FNAME’;ftypes[1]=’text’;fnames[2]=’LNAME’;ftypes[2]=’text’;fnames[0]=’EMAIL’;ftypes[0]=’email’;fnames[3]=’TRACKING’;ftypes[3]=’text’;}(jQuery));var $mcj = jQuery.noConflict(true);

cialis effects levitra rezeptfrei deutschland what is azithromycin cialis samples overnight cialis on line cialis 20mg finasteride vs dutasteride propecia viagra 100mg tablets retail price finasteride 5mg side effects cealis canadian viagra cipro uses viagra generic levitra vs viagra for hardness zovirax cream sophia viagra cilias ciprofloxacin ophthalmic solution cialis coupon print cialis medication cialis canada cheap cialis cialis vs viagra what does azithromycin treat zovirax generic levitra cialis side effects azithromycin pregnancy 9 levitra at walmart zovirax for cold sores how does viagra work online cialis tamoxifen and weight gain cialis or viagra cialis cost cialis voucher ciprofloxacin hcl 500 mg ciprofloxacin dosierung how does lexapro work cialis dosage recommendations ciprofloxacin 500 mg azithromycin three times a week is lexapro a controlled substance finasteride effets secondaires zovirax dosage where to buy viagra best price viagra tamoxifen cost what is azithromycin for finasteride efectos secundarios viagra tablet side effects of azithromycin 250 mg cipro for uti viagra kaufen what is lexapro for viagra uk free cialis cheap viagra cialis pills ciprofloxacin hcl 500 mg tab cialis samples finasteride 1mg escitalopram 20 mg cialis discount viagra dosage ciprofloxacin dosage acyclovir 800 mg for shingles canada viagra ciprofloxacin side effects in women finasteride side effects in men acyclovir levitra 20mg what is ciprofloxacin used for viagra natural viagra sex cialis online cialis pharmacy prices cialis 30 day sample what does ciprofloxacin 500mg treat viamedic cialis viagra coupons viagra 50mg azithromycin without a doctor’s prescription cialis coupons 2017 viagra prices ciprofloxacin bnf cialis what is finasteride used for viagra vs cialis vs levitra how long for lexapro to work azithromycin 5 day dose pack azithromycin pregnancy category viagra pillen kruidvat ciprofloxacin 500 mg tabletten zithromax z-pak buy generic levitra finasteride 5mg cost of viagra wholesale cialis cialis price escitalopram effets secondaires what does viagra do levitra vs viagra ciprofloxacin side effects after age 60 azithromycin uses ciprofloxacin side effects azithromycin 250mg generic for lexapro lexapro and weight gain in women erectile dysfunction cialis ciprofloxacin nebenwirkungen finasteride tablets viagra for women herbal viagra viagra costs levitra vs viagra viagra cialis levitra generic liquid cialis generic levitra vardenafil 20mg cialis generic availability 200 cialis coupon lexapro 20mg celexa vs lexapro sex viagra for women lexapro manufacturer website acyclovir 200mg discount cialis cipro dosage side effects of tamoxifen azithromycin 500mg cialis without a doctor’s prescription lexapro reviews cialis for sale finasteride long term effects what infections does ciprofloxacin treat viagra effects tamoxifen langzeitfolgen cialis coupon ciprofloxacin 500mg cialis sample nolvadex what is acyclovir cialis vs viagra how to take cialis generic lexapro cialis for men lexapro medication utilisation viagra cialis patent expiration how to wean off lexapro without withdrawals revatio vs viagra azithromycin pediatric dosing lexapro dosing generic cialis tadalafil does lexapro cause weight gain what does finasteride do viagra soft tamoxifen interaction viagra lexapro 10mg cialis trial side effects of ciprofloxacin 500 mg cialis patent expiration date extended zithromax azithromycin tablet acyclovir 800 mg 5 times a day ciprofloxacin 500mg antibiotics side effects viagra receptfritt viagra substitute ciprofloxacin 250mg generic viagra what is lexapro viagra on line how to wean off lexapro side effects of cialis is ciprofloxacin a penicillin lexapro benefits for women lexapro vs zoloft ciprofloxacin uses levitra bayer 20mg meilleur prix cialis alternative levitra prezzo in farmacia cipro side effects in elderly acyclovir vs valacyclovir cialis prices side effects of finasteride cialis daily azithromycin what is ciprofloxacin wellbutrin and lexapro ciprofloxacin 500mg tablets azithromycin liquid side effects of azithromycin levitra azithromycin 500 erfahrungen acyclovir cream viagra ohne rezept aus deutschland finasteride 5 mg tab viagra price lexapro side effects in women ciprofloxacin drops buy viagra levitra prices acyclovir medication ciprofloxacin spc vardenafil 20mg azithromycin for uti tamoxifen and bone pain lexapro withdrawal symptoms natural viagra azithromycin 250 mg treatment what is azithromycin used for cialis 10 mg cialis savings card ciprofloxacin 500 finasteride for hair loss acyclovir 800mg ciprofloxacin 500 mg for urinary tract infection cialis coupons from manufacturer when will cialis go generic cialis dosage azithromycin for strep throat acyclovir 800 mg what is cialis tamoxifen side effects in women viagra pill side effects of lexapro in women viagra vs cialis vs levitra lexapro dosages viagra vs cialis azithromycin 250 mg equipe argentine viagra tamoxifen what is cipro used for ciprofloxacin 250 mg azithromycin 500 levitra dosage tamoxifen bijwerkingen free viagra viagra cost side effects of lexapro common side effects of ciprofloxacin 500 mg levitra online azithromycin eye drops cialis cheap what bacteria does ciprofloxacin kill azithromycin z pak how long does viagra last cipro drug class viagra en ligne livraison 24h cialis tadalafil lexapro coupons azithromycin coverage cialis 20mg directions finasteride results tamoxifen side effects what is tamoxifen viagra pills finasteride 5mg tab is azithromycin penicillin price cialis how does cialis work what is escitalopram azithromycin cost lexapro side effects what is tamoxifen used for lexapro bula buy viagra online azithromycin 250mg tablets 6 pack cipro antibiotic finasteride permanent side effects viagra coupon cialis patent expiration 2017 what is cipro generic viagra 100mg cipro side effects lexapro and weight loss viagra tablets online viagra lexapro weight gain cialis coupons printable ciprofloxacin 500mg antibiotics viagra single packs cialis generic tamoxifen nebenwirkungen cialis pricing cipro 500 levitra 20 mg cost walmart finasteride how does acyclovir work azithromycin 250 lowest cialis prices discount viagra viagra bestellen zithromax 500 mg lexapro withdrawal finasteride and enlarged prostate zoloft vs lexapro viagra sans ordonnance levitra without a doctor prescription is azithromycin cialis copay card what is ciprofloxacin prescribed for cialis website ciprofloxacin hydrochloride levitra 20mg cost per pill azithromycine 250 mg viagra vs cialis viagra generico order viagra levitra 20 mg ciprofloxacin eye drops acyclovir for cold sores antibiotic ciprofloxacin zovirax pills viagra 100mg over the counter viagra viagra from canada pfizer viagra cialis coupons side effects of ciprofloxacin what is viagra levitra erfahrungen acyclovir ointment 5 viagra for sale lexapro vs celexa buy levitra online tamoxifen side effects in women over 55 viagra on line no prec viagra for sale uk finasteride reviews cialis professional women viagra ciprofloxacin for dogs viagra nebenwirkungen what does ciprofloxacin treat viagra tesco is tamoxifen chemotherapy ciprofloxacin coverage daily cialis weaning off lexapro what is acyclovir used for side effects of lexapro 10 mg cialis 5mg azithromycin side effects generic for cialis azithromycin 500 mg viagra canada generic cialis viagra wiki acyclovir dosage cipro and tendonitis acyclovir dose cialis otc stopping lexapro effects of stopping lexapro suddenly ciprofloxacin class viagra without a doctor prescription usa escitalopram 10 mg side effects of viagra cialis for women lexapro 10 mg ciprofloxacin dose how to get off lexapro cialis for bph cialis generic tadalafil escitalopram oxalate cipro azithromycin and alcohol escitalopram nebenwirkungen acyclovir dosing viagra medicine azithromycin drug class viagra side effects acyclovir ointment effects of stopping finasteride buy levitra cheap levitra finasteride dosage cialis 30 day trial coupon acyclovir dosage for cold sores what is lexapro used for levitra 10 mg prezzo cialas acyclovir 400 mg ciprofloxacin used for ciprofloxacin side effects of acyclovir viagra alternatives canadian cialis azithromycine eg 500 mg bijsluiter zithromax dosage lexapro side effects in men side effects lexapro viagra wikipedia what works better than viagra zovirax ointment cost of cialis cyalis escitalopram 10mg finasteride side effects buy generic viagra viagra online escitalopram 10 mg para que sirve levitra coupons azithromycin dosage escitalopram side effects what is finasteride viagra alternative cialis for daily use cialis reviews cialis testimonials cipro antibiotics buying viagra lexapro and weight gain acyclovir side effects cialis canadian pharmacy viagra samples cialis 5 mg generic cialis at walmart pfizer viagra coupons from pfizer lexapro vs wellbutrin what is acyclovir for buy cialis online levitra coupon finasteride 5mg side effects mayo clinic how much does cialis cost cialis 5mg daily female viagra azithromycin for pneumonia lexapro 5mg viagra without a doctor prescription cialis 20 mg ciprofloxacin hcl cialis coupon 20 mg lexapro overdose azithromycine how to use viagra azithromycin tablets lexapro side effects men viagra ohne rezept auf rechnung lexapro and wellbutrin combination therapy cipro dangers lexapro how long for azithromycin to take effect acyclovir 400mg tamoxifen therapy levitra 20 mg von bayer finasteride 5 mg escitalopram tamoxifen and foods to avoid acyclovir for shingles azithromycin medscape ciprofloxacin hydrochloride ophthalmic azithromycin vs erythromycin side effects of finasteride 5mg thuoc azithromycin lexapro generic name finasteride medication lexapro para que sirve lexapro generic post finasteride syndrome lexapro for anxiety first few days on lexapro vardenafil vs viagra propecia side effects canada cialis zithromax antibiotic viagra for men cialis dosage strengths tamoxifen citrate levitra 20 mg precio farmacia what is cipro usually prescribed for viagra 100 mg viagra activate ciprofloxacin drug class cialis pills for sale cialis free trial viagra 100 buy cialis azithromycin class ciprofloxacin hcl 500 mg side effects cialis from canada lexapro dosage withdrawal from lexapro finasteride hair loss finasteride for women tamoxifen lawsuits

Find me on:

Doug Watkins

iOS Developer at Doug Watkins Development
Developer of My Food Storage and Go Coder, available now on the app store. Owner of DougWatkinsDev.com.
Find me on:

Latest posts by Doug Watkins (see all)

About Doug Watkins

Developer of My Food Storage and Go Coder, available now on the app store. Owner of DougWatkinsDev.com.
Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *