Yaml error missing field `type` at line 4521 column 1

Bug
Every time Yaak auto saves, the following error appears, it doesn’t seem to be affecting the operation of the application, but it’s a bit weird.

I can consistently reproduce it by adding or editing environment variables.
Windowsv2025.4.0
Thanks for the report. Are you using directory sync to write your workspace to a folder?
Yes! I am 👍
Is there any chance your folder has non-Yaak YAML files within it?
Does not appear to be the case:
all hidden files and system files shown.
Hmm you’re right. I wonder if it’s the yaak.vcs.json file in there then? Can you try moving that out temporarily to see if that fixes it?
Sadly, that did not fix it
I closed Yaak
I moved yaak.vcs.json out of the workspace folder and into the parent folder
I reloaded Yaak
Still the same error
Taking the other comments as inspiration.
I loaded the workspace
deleted all the json files from the workspace folder via explorer
went into the Workspace settings in Yaak
under the General Tab, deleted the folder sync
selected the same (now empty) folder as the sync folder
it resynced all the files, and the error isn’t appearing.
It is worth noting that I have been using the same workspace since the feature was added and have gone through many versions of the app.
I would suggest something along the way went funny. and if it’s only me, or very few users that are affected by this, I would use the above as the resolution steps, and move onto other bigger issues :D
Looks like it was crashing due to an event buffer (128 size) filling up. I’ve fixed this in dev and will release a beta soon with the fix.
Oops, this was meant to be a reply to a different issue. I have indeed fixed this one in the same commit, though. Yaak will now skip files it can’t parse as its own.
Can you check if beta 2 fixes this?
https://yaak.app/blog/2025.5.0-beta.2
LGTM!
I put back my busted json files, confirmed still got error.
Installed 2025.5.0-beta.2, errors gone.
Thanks Greg!
Awesome, thanks for confirming!
https://yaak.app/blog/2025.5.0