Bug that breaks a chat thread which breaks codex completly

Open 💬 3 comments Opened May 31, 2026 by husseinkaraki
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.527.31326 (3390)

What subscription do you have?

Pro $100

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

I pasted a string into a chat, and after hitting enter, it froze codex. Then I force quit codex, and tried to open that chat thread again, and it would freeze.

What steps can reproduce the bug?

Feedback ID: 019e7b6c-a21a-7440-bffa-90db444f4880

What is the expected behavior?

Feedback ID: 019e7b6c-a21a-7440-bffa-90db444f4880

I modified the .codex-global-state.json file to resolve the issue. The problem happened when I pasted a log about some hubspot text. That broke the whole thread and I coudlnt open the thread any more without Codex completly freezing and it requiring a forced quit / restart. When I removed the hubspot log paste, I was able to opent the thread again. so basically everything after "I tested the webhook its working.".

whole entry

"local:019e74b2-ba78-7e72-a04e-65a0b52cee39": "can you update the email support to admin@kdramafanclub.com?\n\nalso, regarding hubspot, did you update the api integration? \n\nbeta_signup - single line text\nthe contact property beta_platform: dropdown/text, default value ios - im not defaulting it on hubspot side. you should default this on the website. \nchange the sex to male / female and thats it. \nbeta_primary_language - change it to single line text \n\n\nfinal : \nthe contact property beta_signup: single line text\nthe contact property beta_platform: single line text\nthe contact property beta_participant_age: number\nthe contact property beta_participant_sex: single line text\n\nthe contact property beta_primary_language: single line text\nthe contact property testflight_invite_status: single line text\nthe contact property founder_interview_interest: single line text\n\nthe columns have been created. referral_source i see. contact_submission_source i dont. \n\nregarding discord. heres the webhook url. https://discord.com/api/webhooks/1510436327655739453/exsgzsl3f9wTDAFcPZIxUALoG2BO_HStNXXOKi3UzDg_jRvmHT3zsBUCVOrqiDc2NU4N\n\nill paste it in vercel. umm. i also added it to the local .env file. I tested the webhook its working. \n\ngot these errors\n\nHubSpot custom properties rejected; retrying with core fields VALIDATION_ERROR: Property values were not valid: [{\"isValid\":false,\"message\":\"Property \\\"beta_participant_sex\\\" does not exist\",\"error\":\"PROPERTY_DOESNT_EXIST\",\"name\":\"beta_participant_sex\",\"localizedErrorMessage\":\"Property \\\"beta_participant_sex\\\" does not exist\",\"portalId\":244828981},{\"isValid\":false,\"message\":\"Property \\\"testflight_invite_status\\\" does not exist\",\"error\":\"PROPERTY_DOESNT_EXIST\",\"name\":\"testflight_invite_status\",\"localizedErrorMessage\":\"Property \\\"testflight_invite_status\\\" does not exist\",\"portalId\":244828981},{\"isValid\":false,\"message\":\"Property \\\"beta_participant_age\\\" does not exist\",\"error\":\"PROPERTY_DOESNT_EXIST\",\"name\":\"beta_participant_age\",\"localizedErrorMessage\":\"Property \\\"beta_participant_age\\\" does not exist\",\"portalId\":244828981},{\"isValid\":false,\"message\":\"Property \\\"beta_primary_language\\\" does not exist\",\"error\":\"PROPERTY_DOESNT_EXIST\",\"name\":\"beta_primary_language\",\"localizedErrorMessage\":\"Property \\\"beta_primary_language\\\" does not exist\",\"portalId\":244828981},{\"isValid\":false,\"message\":\"Property \\\"founder_interview_interest\\\" does not exist\",\"error\":\"PROPERTY_DOESNT_EXIST\",\"name\":\"founder_interview_interest\",\"localizedErrorMessage\":\"Property \\\"founder_interview_interest\\\" does not exist\",\"portalId\":244828981},{\"isValid\":false,\"message\":\"Property \\\"beta_platform\\\" does not exist\",\"error\":\"PROPERTY_DOESNT_EXIST\",\"name\":\"beta_platform\",\"localizedErrorMessage\":\"Property \\\"beta_platform\\\" does not exist\",\"portalId\":244828981},{\"isValid\":false,\"message\":\"Property \\\"beta_signup\\\" does not exist\",\"error\":\"PROPERTY_DOESNT_EXIST\",\"name\":\"beta_signup\",\"localizedErrorMessage\":\"Property \\\"beta_signup\\\" does not exist\",\"portalId\":244828981}]: Property \"beta_participant_sex\" does not exist: Property \"testflight_invite_status\" does not exist: Property \"beta_participant_age\" does not exist: Property \"beta_primary_language\" does not exist: Property \"founder_interview_interest\" does not exist: Property \"beta_platform\" does not exist: Property \"beta_signup\" does not exist",

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 2 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #25260
  • #25163
  • #25251
  • #25430

Powered by Codex Action

JulianBerger · 2 months ago

Have a similar issue, when pasting this json, codex gets super unresponsive, takes minutes that the text field responds to delete this text again

{
    "error": "Internal Server Error",
    "message": "Response doesn't match the schema",
    "statusCode": 500,
    "code": "FST_ERR_RESPONSE_SERIALIZATION",
    "name": "FastifyError",
    "cause": {
        "name": "$ZodError",
        "message": "[\n  {\n    \"expected\": \"string\",\n    \"code\": \"invalid_type\",\n    \"path\": [\n      \"media\",\n      \"items\",\n      0,\n      \"uploader\",\n      \"userId\"\n    ],\n    \"message\": \"Invalid input: expected string, received ObjectId\"\n  },\n  {\n    \"expected\": \"string\",\n    \"code\": \"invalid_type\",\n    \"path\": [\n      \"media\",\n      \"items\",\n      0,\n      \"shareUpload\",\n      \"shareId\"\n    ],\n    \"message\": \"Invalid input: expected string, received ObjectId\"\n  },\n  {\n    \"expected\": \"string\",\n    \"code\": \"invalid_type\",\n    \"path\": [\n      \"media\",\n      \"items\",\n      0,\n      \"shareUpload\",\n      \"galleryId\"\n    ],\n    \"message\": \"Invalid input: expected string, received ObjectId\"\n  }\n]"
    },
    "method": "GET",
    "url": "/v1/user/:userId/search/:query?",
    "serialization": {
        "rateLimit": {
            "max": 120,
            "timeWindow": "1 minute"
        },
        "url": "/v1/user/:userId/search/:query?",
        "method": "GET"
    }
}

if i paste it like this, it works fine:

{
  "error": "Internal Server Error",
  "message": "Response doesn't match the schema",
  "statusCode": 500,
  "code": "FST_ERR_RESPONSE_SERIALIZATION",
  "name": "FastifyError",
  "cause": {
    "name": "$ZodError",
    "message": [
      {
        "expected": "string",
        "code": "invalid_type",
        "path": [
          "media",
          "items",
          0,
          "uploader",
          "userId"
        ],
        "message": "Invalid input: expected string, received ObjectId"
      },
      {
        "expected": "string",
        "code": "invalid_type",
        "path": [
          "media",
          "items",
          0,
          "shareUpload",
          "shareId"
        ],
        "message": "Invalid input: expected string, received ObjectId"
      },
      {
        "expected": "string",
        "code": "invalid_type",
        "path": [
          "media",
          "items",
          0,
          "shareUpload",
          "galleryId"
        ],
        "message": "Invalid input: expected string, received ObjectId"
      }
    ]
  },
  "method": "GET",
  "url": "/v1/user/:userId/search/:query?",
  "serialization": {
    "rateLimit": {
      "max": 120,
      "timeWindow": "1 minute"
    },
    "url": "/v1/user/:userId/search/:query?",
    "method": "GET"
  }
}
ayuhito · 2 months ago

Can concur, pasting in escaped JSON also froze my app and needed removal from .codex-global-state.json to unfreeze the application.