Restic check reports `error for tree... node "static" with invalid type "irregular"`

Hello!
Check:

In my case the error was because I was including the Dropbox cache in the backup. Before I didn’t get an error. I excluded that folder and everything was fine.