VSCode plugin error

I upgraded to PSU 3.3.5 from 3.3.1 and noticed my VS Code plugin was broken.
Editing a dashboard and saving it does not update the dashboard in PU running on a remote server.
The configuration section fails to load with an error Failed to query configuration files. TypeError:configs.forEach is not a function This is a connection rerror.

However, the APIS, Automation, and Dashboards sections are all populated so the connection is working (I checked the app token to be sure) So I am wondering if it’s an issue with the configuration files themselves but without more info it’s hard to track down where to look.
There was an issue with dashboards.ps1 that I fixed manually (missing dashboard entries where code exists and references to deleted dashboards) and UD starts and runs as expected.

Any pointers on where else I can look?

Product: PowerShell Universal
Version: 3.3.5

I can reproduce this. I will let you know what I find.

This ended up being an app token that was set to the reader role. Once I changed it to an admin token, I no longer had this problem and it seems to work fine.

Yeah, creating a new Admin token with the Admin Role fixed it. Not sure how that changed though as I certainly didn’t do it on purpose!