Cannot allocate machine via API - 'dict' object has no attribute 'lists'

I am using c# to invoke the maas rest api. I can authenticate fine (proven by the fact i can call the api endpoint to get all machines), but when I try to allocate a machine, I get this error:

‘dict’ object has no attribute ‘lists’

I have request like so:






























What am I missing? I get this error too in C# but the same request format works fine for provisioning DNS records.

so @gurdips-1, there’s a bit more information that we’d need. take a look at this page to get an idea (no need to file a bug, yet). logs could be pretty important here. tia.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.