Skip to content

Browser Data language is not valid #48

Description

@adnansorg
    "browser_data": {
        "javascript_enabled": true,
        "screen_width": 2048,
        "screen_height": 1152,
        "accept_header": "application/json, text/plain, */*",
        "timezone": "0",
        "ip": "XXX.XXX.XXX.XXX",
        "color_depth": "TWENTY_FOUR_BITS",
        "java_enabled": true,
        "language": "en-GB-oxendict",
        "challenge_window_size": "WINDOWED_600X400",
        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
    },

One of our customers passed the following browser_data object, with the language set to en-GB-oxendict

We got the following error immediately

{
  "three_dsserver_trans_id" : "2eb7fd89-2b16-4d1b-99a6-4c69b5d7cc0d",
  "error_code" : "203",
  "error_component" : "S",
  "error_description" : "Format of one or more Data Elements is Invalid according to the Specification",
  "error_detail" : "browser_data.language",
  "error_message_type" : "AReq",
  "message_type" : "Erro",
  "message_version" : "2.1.0"
}

Are we ok to trim this value to en-GB instead of en-GB-oxendict and will this cause issues during fingerprint and/or challenge phase?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions