error saving setting

In trying to test/modify settings got this error from simulator :

"Error Saving Settings"

"we had a problem saving settings to this device. Please try again in a few minutes." ...

what is the real problem ?

and doing the same test from the app in store : got more or less same error on the phone ....

  • How much free memory does your app have. Sounds like your app has not enough free memory.

  • Have the same error today with Forerunner 235 editing settings. Broken in ConnectIQ and Garmin Express.
    Works fine on my Forerunner 255 with the same Watchface. 

    Watchface 'Motion Time' (https://apps.garmin.com/apps/fa96824a-463d-4726-bd94-f2f647660e74). 

    The app contains languages which are not supported in CIQ1.4.4 (i.e. Japanese and Chinese). Can this coause the FR235 to fail on save?

    The app contains a setting which is read only.  Is this causing a problem when trying to save the settings?

  • Languages and r/o settings are not the problem. How much free memory your app has?

  • In simulator I see 35.5kb/64kb occupied. In simulator settings are working all the time!

    Another observation: after fresh install I am able to edit the settings. 
    After I once tried to edit the settings with Garmin Express the error returns for ConnectIQ also.

  • sounds like some bug in the code that runs in onSettingsChanged(). Do you see some crash in the CIQ_LOG.* ?

  • I do not think that onSettings can crash because of some changes, because it is doing nothing right now.

     // New app settings have been received so trigger a UI update

    function onSettingsChanged() {

    log("Settings changed");

    WatchUi.requestUpdate();

    }

    But you are right. In the CIQ_LOG.TXT there is a fresh record claiming:

    ERROR: Circular Dependency Error
    DETAILS:
    STORE_ID: fa96824a463d4726bd94f2f647660e74
    CALLSTACK:



    An the STORE_ID is that of Motion Time:

    <App>

    <AppName>Bewegungszeit</AppName>

    <StoreId>fa96824a-463d-4726-bd94-f2f647660e74</StoreId>

    <AppId>f15f768f-02c4-40a3-b2d4-251e77b3f70c</AppId>

    <AppType>watchface</AppType>

    <Version>8</Version>

    <FileName>E6A61103.PRG</FileName>

    </App>

  • I resolved theCircular Dependency Error using the memory viewer in the simulator.

    Still the same issue when trying to change a setting in ConnectIQ (iOS): ""Error Saving Settings - please try later" on FR235 

  • How does the settings xml look like? Is it possible you're trying to use one of the non existant features?

  • I have a property declared as type string, where I store a Dictionary. The property is not in the settings. May this cause some error?

    The settings are not using any special features:

     <settings>

    <setting propertyKey="@Properties.AppVersion" title="@Strings.AppVersion">

    <settingConfig type="alphaNumeric" />

    </setting>

    <setting propertyKey="@Properties.activeMetabolicRate" title="@Strings.activeMetabolicRate">

    <settingConfig type="numeric" min="0" max="5000" />

    </setting>

    <setting propertyKey="@Properties.yearGaugeUsing"

    title="@Strings.yearGaugeUsing">

    <settingConfig type="list" >

    <listEntry value="0">@Strings.yearGaugeBirthday</listEntry>

    <listEntry value="1">@Strings.yearGaugeAgeRange</listEntry>

    </settingConfig>

    </setting>

    <setting propertyKey="@Properties.birthMonth" title="@Strings.birthMonth">

    <settingConfig type="numeric" min="0" max="12" />

    </setting>

    <setting propertyKey="@Properties.XAge" title="@Strings.XAge">

    <settingConfig type="numeric" min="0" max="100" />

    </setting>

    <setting propertyKey="@Properties.startAge" title="@Strings.startAge">

    <settingConfig type="numeric" min="0" max="100" />

    </setting>

    <setting propertyKey="@Properties.activityGaugesUsing"

    title="@Strings.activityGaugesUsing">

    <settingConfig type="list" >

    <listEntry value="0">@Strings.activityGaugeSteps</listEntry>

    <listEntry value="1">@Strings.activityGaugeActiveMinutes</listEntry>

    </settingConfig>

    </setting>

    <setting propertyKey="@Properties.dailyActiveMinutesModerate" title="@Strings.dailyActiveMinutesModerate">

    <settingConfig type="numeric" min="0" max="500" />

    </setting>

    <setting propertyKey="@Properties.dailyActiveMinutesVigorous" title="@Strings.dailyActiveMinutesVigorous">

    <settingConfig type="numeric" min="0" max="3000" />

    </setting>

    <setting propertyKey="@Properties.manualVO2max" title="@Strings.manualVO2max">

    <settingConfig type="numeric" min="0" max="70" />

    </setting>

    </settings>
  • Yeah, nothing special. You don't have to set all properties from the settings, so that's also OK.
    In theory it still can be that one of the properties and the settings type don't match.

    I'll also ask something trivial: other apps' settings work from the same iPhone?