1. With the changes to MTurk's payment systems I'm recommending people take a moment to consider securing their on-site banking information from userscripts. TVJS has already been updated to explicitly prevent it from accessing sensitive pages, but workers should strongly consider permanently blacklisting scripts from running on pages containing banking information.

    [Guide] Globally Blacklisting Scripts From Running on MTurk's Bank Account Management Pages will show you how.

    Dismiss Notice

MTurk Cookies & 400 Bad Request Errors

Discussion in 'Help & Guides' started by ChrisTurk, Jun 20, 2019.

  1. ChrisTurk

    ChrisTurk Administrator

    Messages:
    46,220
    Ratings:
    +119,195
    [​IMG]
    Yesterday evening MTurk made a change to how the website operates. Now when you accept a HIT the response sets a "cookie" in your browser with information about the HIT (no clue why or the purpose).

    This is fine if you accept HITs & submit them all from the exact same browser and the same profile/session. However if you accept HITs in one browser/profile, and return/submit from another one, the cookies will not expire properly and can cause all of your requests to MTurk to be overloaded when sending these cookies to the server.

    Right now (as of June 20th, 2019 2PM EST) these cookies have absolutely no purpose other than to break the website functionality of anyone using advanced workflows/scripts, so the suggested solution to resolving the issue w/o giving up your workflow is as follows:

    ***IMPORTANT*** You only need to follow these steps for the browser/profile you accept HITs from
    • In Chrome, Opera, Vivaldi and other Chromium based browsers install EditThisCookie from here:
    • In FireFox you can try this but I don't have detailed instructions for it, sorry:
    • Right click the extension icon and go to Options
      • upload_2019-6-20_14-14-3.png
    • From the options click on "Blocked cookies" on the left navigation pane, on the right hand side click "block cookie" and enter a record as shown in the screenshot:
      • upload_2019-6-20_14-15-34.png
      • Domain: worker.mturk.com
      • Name: Hit-*
      • Value: any
    • Use chrome://restart (or just completely close out of your browser & reopen it for other installs) to make sure the changes take full effect
    This will prevent MTurk from setting these cookies so if they actually implement some functionality around this at a later date this guide may impair your ability to use MTurk. PLEASE send in a support ticket with MTurk and let them know whatever they are trying to do is a bad solution because even at 25 HITs in a queue they are dangerously close to the request maximum when implementing these cookies and if they append any more information to these things MTurk will be grinding to a halt for everyone.
     
    • Useful / Informative Useful / Informative x 16
    • Love Love x 6
    Last edited: Jun 21, 2019
  2. Kan Du

    Kan Du Well-Known Turker

    Messages:
    1,749
    Gender:
    Female
    Ratings:
    +1,562
    FYI: You need to hit Enter while in the row with the new block to save it.
     
    • Like Like x 3
    • Useful / Informative Useful / Informative x 2
    • LOL LOL x 1
    • Love Love x 1
  3. GimmeHits

    GimmeHits Well-Known Turker

    Messages:
    2,001
    Gender:
    Male
    Ratings:
    +2,482
    :emoji_clap:
     
    • Like Like x 1
    Last edited: Jun 28, 2019
  4. sundar

    sundar New Turker

    Messages:
    5
    Gender:
    Male
    Ratings:
    +2
    Its safe or not, i was got 400 bad requester error, get some days...
     
  5. Lindazzz

    Lindazzz New Turker

    Messages:
    9
    Ratings:
    +2
    I use Chrome only for Mturk, (and Waterfox for everything else.) I usually throw out all of my Chrome cookies regularly. Is it better to use the Edit Cookie extension?
     
  6. Lindazzz

    Lindazzz New Turker

    Messages:
    9
    Ratings:
    +2
    Just re-read this. First, Amazon answers support tickets with form letters, so we're really on our own. I once sent them one on another topic.

    Since this article was written in June, is anyone having problems because their MT cookies are blocked?
     
    Last edited: Jan 11, 2020
  7. marcusdavvid

    marcusdavvid Well-Known Turker

    Messages:
    2,909
    Gender:
    Male
    Ratings:
    +5,147
    @ChrisTurk