This article explains why Consumer Goods Cloud Offline Mobile App users cannot sync after upgrading to app version 260.00004.00 and how to resolve the error.
Customers describe this as: "After upgrading to version 260.00004.00 we started having problems logging into the offline application" and "Sales Reps getting Error in the CG Retail Execution Mobile App during Synchronisation after app update to version 260".
On login or sync, the app returns: "ERROR at Row:1:Column:145 duplicate field selected: Id" with errorCode "INVALID_FIELD" against a query similar to "SELECT cgcloud__Mobility_Sales_Org__c, cgcloud__Sales_Org__c, id FROM User WHERE Id = '<user id>'".
Trigger condition: the Consumer Goods Cloud Offline Mobile App was upgraded to version 260.00004.00 (or later) on Android or iOS, and one or more Tracked Objects, Named Queries, or Named Fetch Trees in the org reference User fields with incorrect lowercase casing (for example $User.id instead of $User.Id, or a lowercase id field added to a SELECT clause).
The v260 release introduced stricter SOQL casing validation; the sync engine always appends the canonical Id column, so a user-supplied lowercase id selection produces a duplicate-field error.
Affected scope: All users in any sales org assigned a Sync Configuration that contains lowercase User attribute references, all editions where Consumer Goods Cloud Retail Execution is enabled, both Android and iOS clients, and all sandbox and production environments. This is tracked as Known Issue KI-68738.
Apply the workaround documented in Known Issue KI-68738 by correcting the casing of every User attribute reference used by the offline sync configuration.
CG Users are unable to login to the offline Mobile App(V260)
005385111

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.