MTurk Cookies & 400 Bad Request Errors

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

  1. ChrisTurk

    ChrisTurk Administrator

    Messages:
    51,864
    Ratings:
    +142,228
    [​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.
     
    • Today I Learned Today I Learned x 17
    • Love Love x 8
    Last edited: Jun 21, 2019
  2. Kan Du

    Kan Du Well-Known Turker

    Messages:
    2,205
    Gender:
    Female
    Ratings:
    +2,269
    FYI: You need to hit Enter while in the row with the new block to save it.
     
    • Like Like x 3
    • Today I Learned Today I Learned x 2
    • LOL LOL x 1
    • Love Love x 1
  3. GimmeHits

    GimmeHits Well-Known Turker

    Messages:
    2,473
    Gender:
    Male
    Ratings:
    +2,820
    :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:
    29
    Ratings:
    +12
    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:
    29
    Ratings:
    +12
    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,926
    Gender:
    Male
    Ratings:
    +5,185
    @ChrisTurk
     
  8. jose miguel sanchez

    jose miguel sanchez New Turker

    Messages:
    1
    Gender:
    Male
    Ratings:
    +0
    Hello, I also use chrome and I do the same as you
     
  9. WildFlower

    WildFlower Survey Slinger FF Champion II

    Messages:
    4,245
    Gender:
    Female
    Ratings:
    +4,860
    FYI, this reared it's ugly head for me today again

    I should add, directions from @ChrisTurk still work to fix this
     
    • Like Like x 3
    Last edited: Nov 6, 2020
  10. IcyTundra

    IcyTundra Tundra Thundra

    Messages:
    7,650
    Gender:
    Female
    Ratings:
    +13,081
    This just happened to me today. Had never seen this before. Just went through all the steps and things and hoping it works.

    Thanks for posting this :emoji_fingers_crossed:
     
    • Like Like x 1