Skip to content

Facebook, Instagram & X Error Codes Fixed

A close-up of social media app icons on a smartphone screen
Facebook, Instagram, and X share the same fix order: retry, switch surface, clear data, sign in again. Photo: Pixabay / Pexels.
A close-up of social media app icons on a smartphone screen
Facebook, Instagram, and X share the same fix order: retry, switch surface, clear data, sign in again. Photo: Pixabay / Pexels.

A Facebook query error means Facebook’s servers could not complete the request your app or browser just sent, and it is usually temporary rather than a sign that your account is broken. The same is true of Instagram’s 5xx server error and most X login errors: the fix order is the same on all three, so start with a retry and a different device or browser, then clear the app data and sign in again. Steps are written for the Facebook, Instagram, and X apps on Android and iOS, and for facebook.com, instagram.com, and x.com in Chrome, Edge, Firefox, and Safari on Windows 11, Windows 10, and macOS. For general troubleshooting steps that apply to any app, see our general troubleshooting guide.

What a Query Error on Facebook Means

Facebook does not fetch your feed one item at a time. It bundles what it needs, such as the posts in your feed, the comments on a photo, or a Marketplace listing, into queries and sends them to Meta’s servers. When the server cannot process that request, it returns an error instead of data, and the app shows “Error performing query” or “Query error.”

The message is generic, not a diagnosis. It can appear when you comment, search, open Marketplace, edit a post, use Messenger, or log in. It does not automatically mean your account was hacked, banned, or disabled. In most reports the cause is one of these: a temporary server problem, a throttled request after too many actions in a short time, an expired login session, a weak connection, or stale app data.

Developers see the same failure in API terms as a server error with code 1675030, described as “Error performing query.” That code is reported in developer write-ups rather than in Meta’s consumer help pages, so treat it as an API-side label for the same failure, not as a separate problem to fix.

If the error appears only on one Page or group while the rest of Facebook works, the problem is usually tied to that object, such as its content or your permission on it. If it appears everywhere, think server outage, session, or device state first.

How to Fix the Facebook Query Error

Work through these in order. After each step, retry the original action once rather than submitting it again and again.

1. Wait and retry once

A failed request can leave the page in an outdated state. Close the error, pull down to refresh the page, and try the action once. Many query errors clear on their own within a minute.

2. Try a different surface

Open Facebook in a browser if you are on the app, or open the app if you are in a browser. If one works, the other client is the problem. Also try a different action: if commenting fails but scrolling works, the failure is narrow.

3. Check your connection and turn off traffic filters

Switch from Wi-Fi to mobile data, or from mobile data to Wi-Fi. Temporarily turn off a VPN, proxy, private DNS service, or ad-blocking DNS profile, then retry once. If Facebook fails on several devices and networks, the cause is more likely on Facebook’s side.

4. Clear Facebook’s local data

On Android, open Settings, then Apps, then Facebook, then Storage, and tap “Clear cache.” If the error remains, return to that screen and choose “Clear storage” or “Clear data,” then sign in again. On iPhone and iPad, iOS has no clear-cache button for Facebook: open Settings, then General, then iPhone Storage, then Facebook, tap “Offload App,” and reinstall it from the same screen. In a desktop browser, open the site settings for facebook.com and delete the site data, then reload and sign in again.

5. Update Facebook, your browser, and your device

Install any available Facebook app update from the App Store or Google Play, update the browser, and install any pending operating system update. An outdated app can send requests the current servers reject.

6. Sign out and start a fresh session

A long-running or partly expired login session can make Facebook reject requests even though the feed still looks normal. Log out, close the app or browser tab completely, reopen Facebook, and sign in again. Then check the “Where you’re logged in” list in Settings and sign out any device you do not recognise.

7. Stop retrying if you may have hit a limit

Repeatedly submitting the same action can trigger a temporary limit. If the error started after many rapid likes, comments, or posts, stop for a while and try again later. The same applies to Marketplace: if a listing action keeps failing, wait before listing again.

Facebook Login Errors: “An Unexpected Error Occurred”

The login version of the error reads “An unexpected error occurred” or “Query error” on the login screen. The fix path is Facebook’s account recovery flow, not the app settings above.

First, check that you are using an email address, confirmed mobile number, or username that is actually on the account, and try each one you have owned. Then click “Forgotten password?” on the login screen, enter the email, number, full name, or username, and follow the instructions to reset the password with a code sent to your email or phone.

If no code arrives, check the spam or junk folder, make sure the phone has signal, wait a few minutes, and request a new code. Facebook limits how many password resets you can request in a day, so waiting matters. If you no longer control the email or phone on the account, use the “No longer have access to these?” option in the recovery flow and enter new contact details that have never been used on the account.

Use a device and network you have logged in from before whenever you can: Facebook uses familiar devices to help confirm who you are, and recovery works better from one. If you think someone else got into the account, go to facebook.com/hacked from that familiar device instead.

Instagram 5xx Server Error and “Something Went Wrong”

A 5xx server error on Instagram means the request reached a server that could not complete it. The 500 range is the server’s side of the conversation: your request arrived, but Instagram’s servers failed to answer it. The message does not by itself mean your account was disabled, hacked, or deleted.

Instagram’s own troubleshooting sequence is short, and it is worth following in order:

  1. Update Instagram and your phone or tablet’s operating system.
  2. Restart the phone or tablet.
  3. Switch between Wi-Fi and mobile data and repeat the action that produced the error.
  4. Try the same account in a browser at instagram.com. If the browser works, the app installation is the problem.
  5. Reinstall Instagram. On iPhone, touch and hold the icon, tap “Remove App,” and reinstall from the App Store. On Android, uninstall it and reinstall from Google Play. Reinstalling removes the app, not your profile or photos, and you will need to sign in again.

“Something went wrong” on Instagram covers the same ground and the same fixes. Clear the app cache on Android from Settings, then Apps, then Instagram, then Storage. On iPhone, reinstalling is the way to clear it. Logging in through Facebook can also work when the accounts are linked, since it uses a different sign-in path.

If the error remains after these steps, report it from the app: open your profile, tap the menu, then Help, then “Report a Problem.” You can return to the screen where the error happened and shake the phone, or choose “Report problem without shaking.”

Do not treat a 5xx message as proof of a hacked or disabled account, and do not reset the whole phone as a first step. Instagram’s troubleshooting sequence asks for none of that. For what the 5xx codes mean in general, see our guide to http error codes.

X (Twitter) Errors: Login, Attestation, and Error 131

X errors fall into three groups, and each has a different fix.

The login errors are the most searched. “Login error: attestation denied” appears at sign-in when X cannot verify the device or session. It is a community-reported error with no official X help page describing it, so the fixes below are the ones users report most often: clear the browser cache and cookies or the app data, try another browser or device, turn off your VPN, and wait before retrying. Repeated rapid login attempts can make it worse, so space them out.

Error code 131 is an API error code that developers meet as an internal error. Ordinary users see it when a feature that depends on X’s API fails, and there is no user-side fix beyond retrying later and checking whether the same feature fails for other people. Treat it as a server-side error.

The third group is browser errors seen on X, such as “STATUS_ACCESS_VIOLATION” and “client error.” These are browser failures, not X failures: the browser itself crashed while loading the page. Update the browser, disable extensions, clear the cache, and try another browser. If X loads in Firefox but not in Chrome, the Chrome profile is the problem.

“Something went wrong” on X is the same generic message as on the other two services. Reload, try another browser or the app, and if it appears for everyone at once, wait for X to recover.

When It Is a Server Problem

All three services can fail at once or one at a time, and no local fix helps during an outage. Meta’s public status dashboard covers its business products, such as Ads Manager and the developer platform, rather than the consumer apps, so a green dashboard does not prove Facebook or Instagram are fine for everyone. Check user-reported outage trackers and whether the same error appears on other devices and networks. If it does, wait and retry later.

One more check helps: if the same account works in a browser but not in the app, the app is the problem. If it fails everywhere, the service or the account is the problem. That single comparison saves most of the guessing.

A plain HTTP 500 error on Facebook is the same server-side failure as Instagram’s 5xx error, and the same wait-and-retry steps apply. A parse error on Android usually means the app download was corrupt, so uninstall Facebook and install it again from Google Play. “The operation couldn’t be completed” on iPhone is a generic iOS error, so update the app and reinstall it if it persists. In Marketplace, the query error can also appear as no listings loading, and the same fixes apply. On X, a Cloudflare error page means the connection between X and Cloudflare failed, so wait and retry rather than changing your settings. Threads uses the same Meta account system as Facebook and Instagram, so the same sign-out and reinstall steps apply there. An “error occurred during your registration” message on Instagram usually means the sign-up request failed on the network, so retry on another network and check the phone number or email you entered. Error 503 “maximum threads for service reached” is a Meta platform error seen by developers, so it needs waiting rather than a device fix.

Frequently Asked Questions

What does query error mean on Facebook?

A query error means Facebook’s servers could not complete the request your app or browser sent. It is a generic failure, not a diagnosis, and it is usually temporary. Retry once, try another device or browser, clear the app data, and sign in again.

Why does Facebook keep saying query error on iPhone?

The usual causes are stale app data, an expired session, or a temporary server problem. Offload and reinstall the Facebook app from iPhone Storage, sign in again, and try mobile data instead of Wi-Fi to rule out the network.

What is a 5xx server error on Instagram?

A 5xx error means Instagram’s server could not complete your request. It is a server-side failure and does not mean your account was hacked or disabled. Update the app, restart the phone, switch networks, and reinstall the app if it persists.

How do I fix “something went wrong” on Instagram?

Restart the app, clear the app cache on Android or reinstall on iPhone, update the app, and try logging in from a browser. If it still fails, report the problem from the app under Help.

What is the X login error “attestation denied”?

It is a community-reported X sign-in error that appears when X cannot verify the device or session. Clear cache and cookies, try another browser or device, turn off your VPN, and wait before retrying.

What is error code 131 on X?

Error code 131 is an API internal error code that developers meet on X’s platform. For ordinary users it means a feature failed on X’s side. Retry later and check whether others see the same failure.

Watch: Fixing the Facebook Error Performing Query

https://www.youtube.com/watch?v=_ZsOfV6WB-8

“Fix Facebook Error Performing Query Marketplace (2026 Easy Guide)”

A 2:05 guide to the Facebook query error in Marketplace, covering refresh, connection checks, sign-out, and cache clearing. Checked live on 24 Nov 2026.

Sources

11

Every factual claim on this page was verified against a named source above.

More Errors guides

Sara Iqbal

Written by

Sara Iqbal App & Game Error Writer

Sara's byline covers app, game and streaming errors, plus "not working" and outage guides. Fixes come from the official support pages of the app, game or provider, which are linked in each guide. Outage guides explain how to check a service's official status page and never state that a service is up or down.

How our articles are researched, reviewed and updated