Yaak Logo
Yaak
Feedback/Yaml error missing field `type` at line 4521 column 1

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

David Gray·a year ago
ReleasedBug

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

Comments (17)

Sign in to leave a comment.

Gregory Schier

Thanks for the report. Are you using directory sync to write your workspace to a folder?

David GrayOP

Yes! I am 👍

Gregory Schier

Is there any chance your folder has non-Yaak YAML files within it?

David GrayOP

Does not appear to be the case:


all hidden files and system files shown.

Gregory Schier

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?

David GrayOP

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

David GrayOP

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

Gregory Schier

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.

Gregory Schier

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.

Gregory Schier

Can you check if beta 2 fixes this?

https://yaak.app/blog/2025.5.0-beta.2

David GrayOP

LGTM!

I put back my busted json files, confirmed still got error.
Installed 2025.5.0-beta.2, errors gone.

Thanks Greg!

Gregory Schier

Awesome, thanks for confirming!

Gregory Schier
Type to search feedback...