Nest config through things file?

Has anyone successfully used a .things file to store their nest (bridge) configuration?

I’ve managed it with the UI, but every time I try to store config in .things I simply get

No SDM refresh token. Delete and readd credentials, then reauthorize.

(I’m aware of converting escaped - %2F items - in the code)