Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The Gateway file got corrupted again! I’m going to restore it from Git:
I’ve been getting this message frequently in Cursor…
Does anyone know a solution?
It moves forward in the project, and many times when testing, it turns out that one or more files have been deleted…
I’m not manually editing anything — I’m just accepting the changes it makes.
The error happens so often that it’s really bothering me…
Steps to Reproduce
I’m just letting it generate the code. It corrupts the file, leaves it empty, and then detects the problem when testing.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.7.52 (user setup)
VSCode Version: 1.99.3
Commit: 9675251a06b1314d50ff34b0cbe5109b78f848c0
Date: 2025-10-17T01:41:03.967Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045
For AI issues: which model did you use?
AUTO
Does this stop you from using Cursor
No - Cursor works, but with this issue
Hey, thanks for the report. The team is already investigating similar file corruption when accepting changes in auto mode.
To help narrow it down, please share:
- What the corruption looks like exactly (empty files, partial deletions, garbled text)
- Which file types are affected
- Whether it happens in a new chat or an existing large chat
- A Request ID with privacy mode disabled Getting a Request ID | Cursor Docs
theyre are always empty. at most of the time are yml files . Im not sure about the size of the chat but but project is big, so the context isnt smal vry often.
had a problem just now w this aplication.yml
server:
port: 8080
spring:
application:
name: gateway-service
security:
web:
ignore: true
cloud:
gateway:
routes:
*# Auth Service*
- id: auth-service
uri: lb://AUTH-SERVICE
predicates:
- Path=/api/v1/auth/\*\*
filters:
- RewritePath=/api/v1/auth/(?<segment>.\*), /api/v1/auth/$\\{segment}
*# Club Service*
- id: club-service
uri: lb://CLUB-SERVICE
predicates:
- Path=/api/v1/clubs/\*\*
*# Athlete Service*
- id: athlete-service
uri: lb://ATHLETE-SERVICE
predicates:
- Path=/api/v1/athletes/\*\*
*# Sports Service*
- id: sports-service
uri: lb://SPORTS-SERVICE
predicates:
- Path=/api/v1/sports/\*\*
*# Evaluation Service*
- id: evaluation-service
uri: lb://EVALUATION-SERVICE
predicates:
- Path=/api/v1/evaluations/\*\*
*# Medical Service*
- id: medical-service
uri: lb://MEDICAL-SERVICE
predicates:
- Path=/api/v1/medical/\*\*
*# Notification Service*
- id: notification-service
uri: lb://NOTIFICATION-SERVICE
predicates:
- Path=/api/v1/notifications/\*\*
*# Subscription Service*
- id: subscription-service
uri: lb://SUBSCRIPTION-SERVICE
predicates:
- Path=/api/v1/subscriptions/\*\*
globalcors:
corsConfigurations:
'\[/\*\*\]':
allowedOrigins:
- "http://localhost:3009"
- "http://localhost:3000"
allowedMethods:
- GET
- POST
- PUT
- DELETE
- OPTIONS
allowedHeaders: "\*"
allowCredentials: true
maxAge: 3600
eureka:
client:
service-url:
defaultZone: http://eureka-service:8761/eureka
register-with-eureka: true
fetch-registry: true
instance:
prefer-ip-address: true
hostname: gateway-service
management:
endpoints:
web:
exposure:
include: health,info,metrics
endpoint:
health:
show-details: always
security:
enabled: false
logging:
level:
com.atleticiq.gateway: DEBUG
org.springframework.cloud.gateway: DEBUG
i asked 3 times to solve and didnt work. The solution was ask for the content and copy paste to the file
Thanks for the info. Could you share the request ID? You’ll need to turn off privacy mode first.