FIXED: Facebook Error Code 1: An Unknown Error Has Occurred

Get rid of Facebook error code 1 with easy steps

Reading time icon 5 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • For issues like lack of permission, network problem, corrupted cache, cookies, etc., Facebook may not perform properly, and you may get an error code 1.
  • Though the problem can be a result of Facebook’s internal issues, you also should try some methods to verify if it is from your end or not.
  • If clearing temporary data and providing required permissions doesn’t help, correct the Time and date to see if it makes a difference.
fix facebook an unknown error has occurred code 1

If you keep seeing the message “An unknown error has occurred. Code 1” on Facebook, don’t panic—this guide has practical solutions that can help.

While this error is most commonly seen on the Facebook mobile app, it can also show up in your browser. It usually happens when logging in, whether on a familiar device or a new one, and sometimes appears when using Facebook to sign into other apps or services.

How to fix the Facebook error code 1?

1. Clear the cache and data

1.1 On browser

  1. Open your browser on a PC or Mac.
  2. Press CTRL + Shift + Del for PC or Command + Shift + Del for Mac.
  3. Set the time range to All time.
    choose clear browsing data time range
  4. Select Cached images and files and Cookies and click on Clear data.
    metamask not showing balance

1.2 On an app

  1. On your Android phone, go to Settings.
  2. Go to Apps.
    going apps settings android
  3. Find and tap on Facebook.
  4. Go to Storage
    .
    going storage app preferences android
  5. Tap on Clear Data.
    clearing app data android

If necessary, you can re-install the app. On iOS, you won’t find any way to clean the cache. So, you will need to re-install the app there.

After that, try to log in or use Facebook again. You will not face that unexpected error again.

2. Enable the permission

2.1 For third-party app

  1. Go to Facebook Settings.
  2. Navigate to Security and Login.
  3. Go to Apps and websites.
  4. Go to View and Edit for your preferred app.
    clicking view and edit fb app preferences
  5. Grant required permission for the app.

2.2 For the Facebook app

  1. Go to Facebook app settings as shown in method 1.2.
  2. Go to Permissions.
    clicking permission android app settings
  3. Grant the required permissions.

The third-party app or services require permission to do their normal operation. Otherwise, you may get the error code 1. In this case, you won’t have to modify permission on Facebook’s smartphone app.

But, if you cannot log in on Facebook, modifying permission may help sometimes.

3. Remove the third-party connected apps

  1. Go to Apps and websites like in Solution 2.1.
  2. Delete the third-party apps.
    removing apps on fb

4. Correct the date & time

4.1 On PC

  1. Press Win + I on the keyboard to open Settings.
  2. Go to Time & language and click on Date & time.
    going date and time settings win11
  3. Enable Set time automatically and make sure the Time zone is in the correct state.
    set time automatically win11

4.2 On an Android device

  1. Go to Settings.
  2. Go to General management.
    going general management settings android
  3. Tap on Date & Time.
    going time n date android
  4. Enable Set Automatically and make sure the correct time zone is set.

4.3 On an iOS device

  1. Go to Settings.
  2. Tap on General.
    going ios settings general
  3. Go to Date and time.
    going date n time ios settings
  4. Set it to Automatic.
    set time automatically ios

5. Reset the network settings

5.1 On a PC

  1. Go to Windows settings like before.
  2. Go to Network & internet.
    clicking network internet win11
  3. Click on Advanced network settings.
  4. Go to Network reset.
  5. Click on Reset now and follow any on-screen steps.
    clicking reset now for network reset win11 settings

5.2 On an iOS device

  1. Go to General in Settings.
  2. Tap on Transfer or Reset iPhone.
    going transfer and reset iphone
  3. Tap on Reset.
  4. Choose Reset Network Settings.
    reset network settings ios

5.3 On an Android device

  1. Go to General management on Settings.
  2. Tap on Reset.
  3. Tap on Reset network settings.
    reset network settings android

After resetting the network, the login failed, and an unknown error should not occur again. Sometimes, improper network configurations may cause your device to communicate with the Facebook server properly. In this case, resetting the configuration should help.

What causes Facebook login error code 1?

Facebook login error code 1 usually appears as a “Login failed [1]” message when logging in via Facebook or Messenger. It’s a general error caused by:

  • Disabled permissions on third-party apps or the Facebook app. This can happen if you recently changed your settings.
  • Network issues, such as an unstable connection. Restarting your router may help.
  • Facebook server outages, which prevent login attempts.
  • Corrupted cache/data, especially in browsers, which can trigger various Facebook errors.

Wrapping up

Facebook login error code 1 may seem confusing, but it usually comes down to things like permissions, cache issues, or network settings. Whether you’re using the app or logging in via browser, the fixes listed above should help you solve it.

If problems persist, try clearing your cache, resetting network settings, or reinstalling the app. And keep in mind, error code 1 isn’t the only Facebook issue out there. For example, if you’ve run into the “Error performing query” message or seen your messages stuck on “Sent” but not “Delivered”, there are solutions for those too.

Stay calm, follow the steps, and you’ll be back on Facebook in no time.

FAQ

What is Facebook login error code 1?

Error code 1 usually means there’s a general issue preventing your device from connecting to Facebook’s servers. It could be due to network problems, disabled app permissions, or corrupted cache.

What does error code 2 mean in Facebook login?

Error code 2 typically points to a server-side issue or poor internet connection. It means your login request couldn’t reach Facebook’s servers. Try checking your network or waiting a bit before trying again.

Is Facebook login error code 1 common on PCs?

While it’s more common on mobile apps, PC users can also encounter it—especially when logging in via a browser or a third-party app that uses Facebook for authentication.

Can reinstalling the Facebook app fix error code 1?

Yes, reinstalling the app can often resolve the issue by clearing corrupted data and restoring default settings.

More about the topics: Facebook issues, social media

User forum

8 messages