"Cannot read properties of undefined reading ID" error

We are facing the same Problem,

Is that message actually stopping you from doing things?

I get that message quite regularly, harmlessly, in a normal workflow:

  1. In the Anvil IDE, exit from the App, so that only one repository at a time is working on the App.
  2. In my local repository for that App, do some things the IDE doesn’t do well. Overall steps:
    a, git pull
    b. do some edits
    c. git commit
    d. git push back to Anvil.
  3. At the end of step 2d, the Anvil IDE displays the error message. I just click OK and keep on working, because (at least in my case) it isn’t a “real” problem. Apparently, it’s just the browser getting (temporarily) out of sync with the Anvil-maintained App repository.

In the second-worst case, I’ve had to close and restart my browser. Hasn’t happened for years, now.

In the absolute worst case, my edits botched one of Anvil’s .yaml files by mistake. Then the App won’t even load. (Don’t touch those .yaml files unless you know exactly what you’re doing!) But that’s usually a different error message.

Hi, @therapyoutics, I’ve moved this into its own post.

What were you trying to do when you got this error?

I was able to work around this by working through the git integration.