# Settings file not found / balena.cfg

**URL:** <https://forums.balena.io/t/settings-file-not-found-balena-cfg/4309>\
**Category:** Product support\
**Created:** [November 2, 2018, 6:24pm UTC](https://forums.balena.io/t/settings-file-not-found-balena-cfg/4309 "2018-11-02T18:24:03Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![bix](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bix](https://forums.balena.io/u/bix)\
**Post date:** [November 7, 2018, 10:38pm UTC](https://forums.balena.io/t/settings-file-not-found-balena-cfg/4309/7 "2018-11-07T22:38:43Z")

</div>

Hi @pimterry,

I’ve just been testing out the SDK to figure out which aspects I may use. I’ll try committing the generated file, thank you!

I’ve logged in a few different ways (user/pass, token)

I’ve created, accessed and updated environment variables. Ran into some issues here - I can’t recall what threw the error but it was likely updating or removing given this thread: [Python SDK: Creating/Updating/Removing environment variables (from device itself)](https://forums.balena.io/t/python-sdk-creating-updating-removing-environment-variables-from-device-itself/2728)

I’ve also accessed various other things - configuration, device types, tags, etc.

Couple of errors I did log (copied these commands from the SDK doc):

#AttributeError: ‘ServiceEnvVariable’ object has no attribute ‘get\_all’  
#print(balena.models.environment\_variables.service\_environment\_variable.get\_all(APPID))

#TypeError: ‘DeviceServiceEnvVariable’ object is not callable  
#print(balena.models.environment\_variables.device\_service\_environment\_variable(int(APPID)))

---

_[View the full topic](https://forums.balena.io/t/settings-file-not-found-balena-cfg/4309)._
