MTurk Cookies & 400 Bad Request Errors

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

  1. ChrisTurk

    ChrisTurk Administrator

    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:
      • 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 15
    • Love Love x 6
    Last edited: Jun 21, 2019
  2. Kan Du

    Kan Du Well-Known Turker

    FYI: You need to hit Enter while in the row with the new block to save it.
    • Like Like x 3
    • LOL LOL x 1
    • Love Love x 1
    • Useful / Informative Useful / Informative x 1
  3. GimmeHits

    GimmeHits Well-Known Turker

    • Like Like x 1
    Last edited: Jun 28, 2019
  4. sundar

    sundar New Turker

    Its safe or not, i was got 400 bad requester error, get some days...