Free Chrome Extension for Amazon Sellers

The Complete Fix for the Amazon 400 Bad Request Error in Chrome

When Amazon Seller Central or the storefront returns a 400 Bad Request, the cause is almost always the same: tracking cookies grew too large for Amazon's request headers. Clearing all cookies fixes it but logs out every account in your browser. This extension surgically removes the tracking cookies and keeps your login intact.

Get the Extension → How It Works
The problem

You hit "Sign In" and Amazon returns this:

HTTP 400 Bad Request
Request Header Or Cookie Too Large

It happens to multi-account Amazon sellers, agencies switching between client accounts, and anyone who lives in Seller Central. Browser-level "Clear cookies" works, but it nukes every login on Amazon and forces 2FA again on every account. That is why this extension exists.

How it works

Surgical, not scorched earth.

The extension reads every cookie on amazon.com and sellercentral.amazon.com, keeps the ones that hold your login, and deletes the rest.

01

Keeps your login

Session tokens, identity cookies, and 2FA state are preserved. session-id, at-main, ubid-main, x-main, sst-main, JSESSIONID, and friends are explicitly protected.

02

Drops the bloat

Tracking, ad attribution, and analytics cookies that bloat your request headers get removed in seconds. That is what was triggering the 400 Bad Request.

03

Preview before you commit

One click shows what would be deleted without actually deleting anything. Useful when you are debugging or you just want to see what Amazon is dropping in your browser.

04

Open source, in the zip

Three files: manifest.json, popup.html, popup.js. About 100 lines of commented JavaScript. Read it, audit it, modify it. No hidden background scripts, no remote calls.

What it looks like

Amazon Cookie Cleaner popup with Clean Now and Preview buttons
Two buttons. That is the whole interface.
Preview mode showing how many cookies would be deleted versus kept
Preview shows the count before anything is touched.
Result view after running Clean Now, with deleted and kept cookie totals
One click. Tracking cookies gone. Logins intact.
Install

Loaded in under a minute.

The extension is unpacked, which means you load it directly from the folder. No Chrome Web Store review queue, no waiting.

  1. 1

    Download the zip

    Use the form below to get the download link. The zip is around 4 KB.

  2. 2

    Unzip it somewhere permanent

    Chrome reads the extension from this folder every time the browser starts. Do not unzip it to Downloads or anywhere you might delete by accident.

  3. 3

    Open chrome://extensions

    Paste chrome://extensions into the address bar. Toggle "Developer mode" on in the top right.

    Important

    Most users miss this step. The toggle is small and lives in the top-right corner of chrome://extensions.

  4. 4

    Click "Load unpacked"

    Select the unzipped amazon-cookie-cleaner folder. The extension shows up in your toolbar.

  5. 5

    Click the icon, then "Clean Now"

    The next time Amazon throws the 400 error, click the extension and click Clean Now. Refresh the page. Back in business.

Free download

Send me the extension.

Drop your email below. The download link arrives instantly. No spam, just the occasional note when a new free tool ships.

    Complete fix

    The Complete Fix: 5 Steps to Stop the Error for Good

    The Cookie Cleaner extension solves the error the moment you click it. But you can also prevent it from happening in the first place. We built this guide based on managing client Amazon accounts where this error was killing productivity. Start with Step 1 to fix it right now, then work through Steps 2-5 to prevent it from coming back. Steps 1-3 are the must-do core fix. Steps 4-5 are optional advanced tweaks for users who want to go further.

    1. 1

      Get the Cookie Cleaner extension

      First, fix the immediate problem. The Cookie Cleaner extension surgically removes the tracking cookies causing the 400 error while keeping your login cookies intact. One click and you're back in business without re-logging into every Amazon account.

      Scroll up and grab it from the form above (or jump down to the form below if you're still reading). Install it, click "Clean Now," and you'll be unblocked in under 30 seconds.

      The remaining steps below prevent the error from coming back so you don't have to keep cleaning manually.

    2. 2

      Set Amazon-related extensions to "On click"

      Most Amazon sellers have 5 to 15 browser extensions that touch Amazon (Helium 10, Keepa, Jungle Scout, RevSeller, Data Dive, DS Amazon Quick View, Camelizer, etc.). Each one writes its own cookies on every Amazon page load. Limiting them to run only when you click them eliminates the constant cookie growth.

      1. Open chrome://extensions in a new tab
      2. Click "Details" on each Amazon-related extension
      3. Scroll to "Site access"
      4. Change "On all sites" to "On click"

      You'll still be able to use the extension on demand by clicking its icon. The extension just won't auto-run on every page.

    3. 3

      Disable Chrome sync for tabs and history

      If you sync Chrome across multiple devices and use Amazon on more than one, your sessions stack on each other. Disabling tab and history sync prevents this without breaking your password and bookmark sync.

      1. Open chrome://settings/syncSetup/advanced in a new tab
      2. Turn off "Open tabs"
      3. Turn off "History"
      4. Leave Bookmarks, Passwords, Extensions, and Settings on

      This cuts off one of the silent sources of session stacking that contributes to cookie buildup.

    4. 4

      Block third-party cookies

      Optional

      Third-party cookies are the tracking and advertising cookies that pile up alongside your actual login cookies. Blocking them globally cuts the cookie load by 60% to 70% on most Amazon pages without affecting login or shopping functionality.

      1. Open chrome://settings/cookies in a new tab
      2. Select "Block third-party cookies"
      3. Leave "Sites allowed to use third-party cookies" empty
      Heads up

      This is a global Chrome setting, not site-specific. Some sites legitimately need third-party cookies to function, particularly:

      • Banking and financial sites (login flows often use cross-domain authentication)
      • Single sign-on (SSO) systems used by some employers
      • Embedded payment systems on smaller e-commerce sites
      • Some Google Workspace integrations

      If a site you use breaks after enabling this setting, you have two options:

      1. Add that specific site as an exception under "Sites allowed to use third-party cookies"
      2. Switch the setting back to "Allow third-party cookies" if it's causing too many problems

      This is why this step is marked optional. The first three steps are the core fix and shouldn't break anything. This step has trade-offs you'll need to evaluate based on the sites you use.

    5. 5

      Enable Chrome's third-party cookie phaseout flag

      Experimental

      Chrome has an experimental setting that enforces stricter cookie isolation between sites. Enabling it dramatically reduces cross-domain cookie pollution.

      Heads up

      This setting lives at chrome://flags, which is Chrome's experimental features page. The "experimental" label is a real warning, not just bureaucratic boilerplate. Settings here can:

      • Change behavior unexpectedly between Chrome versions
      • Get removed entirely without warning
      • Cause unintended side effects on websites
      • Be reset automatically when Chrome updates

      If something starts breaking on websites after you enable this, your first troubleshooting step should be to come back here and set it back to "Default."

      1. Open chrome://flags in a new tab
      2. Search for "Third-party cookie phaseout"
      3. Set it to Enabled
      4. Click Relaunch when prompted

      This will close and reopen Chrome. Save your work first.

    Step 1 fixes the error right now. Steps 2 and 3 are the core prevention. Steps 4 and 5 are optional advanced tweaks if you want to go further. If you haven't grabbed the extension yet, you can get it below.

    Free download

    Send me the extension.

    Drop your email below. The download link arrives instantly. No spam, just the occasional note when a new free tool ships.

      Common questions

      It is built specifically not to log you out. The extension keeps an explicit allow-list of login cookies (session-id, session-id-time, session-token, at-main, ubid-main, x-main, sess-at-main, lc-main, i18n-prefs, sst-main, JSESSIONID, csrf) and only deletes cookies outside that list. If you want to verify before you commit, use the Preview button. It shows what would be deleted without touching anything. See the privacy policy for full data-handling details.
      Yes. The extension operates on cookie names, not on accounts. If you are signed into multiple Amazon accounts using browser profiles or Multi-Account Containers, each profile or container has its own cookie jar, and the extension only sees the one it is running in. Login cookies for the active profile are preserved.
      No. The host permissions in manifest.json are restricted to *://*.amazon.com/. The extension cannot read or modify cookies on any other site. Your bank, your email, your social accounts: untouched. The manifest is in the zip if you want to verify.
      Yes. The full source is inside the zip. Three files, around 100 lines of JavaScript with comments explaining what each part does: manifest.json, popup.html, and popup.js. No build step, no minification, no hidden background script. Read it, audit it, modify it for your own use.

      Ready to stop seeing that error?

      Drop your email. The extension lands in your inbox in seconds. Install once, use it whenever Amazon decides your headers are too long.

      Send Me the Extension →