ops.model.ModelError: ERROR name is missing

Hi all,

Im trying to create a basic charm for Open Policy agent, but for some reason I am getting this error:

ops.model.ModelError: ERROR name is missing. I cannot tell where the name should be and have tried locking the container name in place in case something was going wrong there. My charm spec looks like this: Ubuntu Pastebin

thanks for any help!
Peter

**edit**
I believe I have found it here

**edit**

Yes the above fix worked. The service accounts where missing names in my case.

Glad that you figured it out. It sounds like the Operator framework could use some better error messaging in that area, though …

thx @petevg!