How to fix: Facebook refuses to update giving 504 error code

Got this myself on my phone, and it just refused to update. Here’s what worked for me.

Edit: this seems to be an issue that Facebook are aware of. It’s an issue with the Facebook app, and not a generalised Play Store issue.

This is what worked for me at least.

  • Settings > Apps > All > Google Play Store, Clear data and Clear cache
  • Settings > Apps > All > Google Play Services > Manage space, Clear all data and Clear cache

It doesn’t hurt if you restart your phone before you try updating facebook again. And, the install was SLOW. Just at least 4-5 minutes. But, it did work. If not try to uninstall it, or simply wait for a fix.

For more troubleshooting suggestions, I recommend that you read THIS


  • Tom Kelsall

    I’ve contacted Facebook about this and they say they’re working with the Google Store to resolve it – they realise it’s their issue, and not a generalised Play Store issue.

    • Anurag Ashim

      I still facing this issue. Seem facebook didn’t resolve this issue.

      • Rajendra Sharma

        Same problem for my phone

  • Anurag Ashim

    I performed the above two steps and rebooted my phone to download FB again , but again it gave the same 504 error. During installation I can see in the Apps com.facebook.katana created of lower verison 30.0.5 something.

  • imtiyaz

    Hey guys, this one worked for me.

    I was able to install FB and use it now 🙂

  • Jecht_Sin

    Yes, it finally worked. Thanks.

  • Ehsan Gh

    Persian language HTC One M8

  • md rabbi

    sanno m7