# Chat recently started to have lots of syntax errors

**URL:** <https://forum.cursor.com/t/chat-recently-started-to-have-lots-of-syntax-errors/31513>\
**Category:** Bug Reports\
**Created:** [December 1, 2024, 2:19pm UTC](https://forum.cursor.com/t/chat-recently-started-to-have-lots-of-syntax-errors/31513 "2024-12-01T14:19:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SJHunter86](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sjhunter86/32/14070_2.png) [@SJHunter86](https://forum.cursor.com/u/SJHunter86)\
**Post date:** [December 1, 2024, 2:19pm UTC](https://forum.cursor.com/t/chat-recently-started-to-have-lots-of-syntax-errors/31513/1 "2024-12-01T14:19:14Z")

</div>

The chat responses with code have begun leaving out brackets, characters, etc. randomly throughout the code blocks. An example response:

```auto
import React from 'react';
mport { createRoot } from 'react-dom/client';
mport { Provider } from 'react-redux';
mport { store } from './store';
mport App from './App';
mport './index.css';
const container = document.getElementById('root');
onst root = createRoot(container);
root.render(
 <React.StrictMode>
   <Provider store={store}>
     <App />
   </Provider>
 </React.StrictMode>
;

```

It will leave off the first character, such as the “i” in import, the “c” in const, and also not have closing brackets. My first few weeks of using Cursor this never happened, but in the last week it has been happening in nearly every code block response, regardless of programming language or model chosen. So far, I have noticed it in Java, Go, and Javascript/Typescript using both Claude and GPT-4o.

---

<div class="post-metadata">

**Author:** ![amanrs](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/amanrs/32/105_2.png) [@amanrs](https://forum.cursor.com/u/amanrs)\
**Post date:** [December 1, 2024, 4:59pm UTC](https://forum.cursor.com/t/chat-recently-started-to-have-lots-of-syntax-errors/31513/2 "2024-12-01T16:59:26Z")

</div>

what version of Cursor are you on? And what operating system?

---

<div class="post-metadata">

**Author:** ![SJHunter86](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sjhunter86/32/14070_2.png) [@SJHunter86](https://forum.cursor.com/u/SJHunter86)\
**Post date:** [December 1, 2024, 5:50pm UTC](https://forum.cursor.com/t/chat-recently-started-to-have-lots-of-syntax-errors/31513/3 "2024-12-01T17:50:32Z")

</div>

Hello - here is the snapshot of the settings:

```auto
Version: 0.43.1
VSCode Version: 1.93.1
Commit: 5ea53fca4187f123b8adc8f4cea37382b97b6880
Date: 2024-11-24T08:57:46.282Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

```

My OS is Microsoft Windows 11 Home version 10.0.22631 Build 22631

---

<div class="post-metadata">

**Author:** ![amanrs](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/amanrs/32/105_2.png) [@amanrs](https://forum.cursor.com/u/amanrs)\
**Post date:** [December 1, 2024, 7:49pm UTC](https://forum.cursor.com/t/chat-recently-started-to-have-lots-of-syntax-errors/31513/4 "2024-12-01T19:49:34Z")

</div>

Could you try upgrading:

ctrl+shift+p \> attempt update

---

<div class="post-metadata">

**Author:** ![SJHunter86](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sjhunter86/32/14070_2.png) [@SJHunter86](https://forum.cursor.com/u/SJHunter86)\
**Post date:** [December 3, 2024, 3:14am UTC](https://forum.cursor.com/t/chat-recently-started-to-have-lots-of-syntax-errors/31513/5 "2024-12-03T03:14:55Z")

</div>

I ran the update and so far I have not had the issue; seems to be resolved.
