Troubleshooting
Resolve common Cegid Retail Y2 connector errors involving customer enrolment, loyalty cards, store routing, receipts, and authentication.
Cegid integration issues often stem from Cegid configuration or reference data. This page lists common symptoms, likely causes, and practical remedies.
Where to look first
The Logs page of the admin console (Settings → Monitoring → Logs) is the starting point for any Cegid problem. Filtering on the Cegid fault prefix isolates errors Cegid itself raised, as distinct from connector errors.
Common failures
Cegid reports an unknown card number
A card referenced on a pass no longer resolves in Cegid.
Confirm the card still exists and is active in Cegid. Where it does not, clear the card identifier from the pass so the customer's current card is resolved.
Failure to generate a customer code automatically (fault WP006)
The store's counter is exhausted, or the store has no counter. Not a credentials problem, despite often appearing alongside one.
Extend the counter range in Cegid for that store. See Cegid-side prerequisites.
Enrolment succeeds but the customer is attributed to an unexpected store
The store has no connection of its own, or the connection name does not exactly match the store identifier, so the default connection's credentials were used.
Add a connection named for the store, or bind the store to the correct connection. See Connections and stores.
An existing customer is matched intermittently, or the wrong record is updated
Several Cegid records match the email address or telephone number; the most recently modified is used.
Resolve the duplicates in Cegid. Until then the behavior will vary as records are modified.
Cegid reports more than one country for an ISO code
Duplicate country rows in the Cegid reference table share one ISO-2 code.
De-duplicate the country table in Cegid.
Cegid reports no country found for an ISO code
The market's country row is missing from the Cegid reference table, or carries no ISO-2 code.
Add or correct the row in Cegid.
A country returned by Cegid cannot be mapped
Cegid holds a country identifier that does not correspond to a recognized ISO code.
Correct the reference data. The record is otherwise processed; only the country is dropped.
Cegid reports the program is not associated with a campaign for the store
Usually a deactivated loyalty card referenced by a pass, rather than a campaign problem. Less often, the store really is absent from the campaign.
Clear the card identifier from the pass (see Loyalty cards and programmes). If the problem affects every customer at a store, add the store to the campaign.
Authentication is rejected
The service-user password has expired or been changed, or a retired store's credentials are still configured.
Follow the credential rotation procedure in Operations runbooks, or remove the connection for a store no longer trading.
Receipt generation fails
The configured receipt template does not exist, or the requested document cannot be found.
Verify the template identifier on the connection concerned, and that the document exists in Cegid.
Enrolment fails only for some markets
Cegid rejects certain characters in address fields even where it accepts them elsewhere in the record.
Normalize the affected fields in the mapping script, using the ensureLatin global (see the Scripting reference).
A store can sign in from head office but not from the shop
Repeated failed sign-in attempts from the shop's address have triggered a protective block on that address.
The account itself is unaffected. The block clears in time; repeated attempts extend it.
Mapping problems
Where a field is written but never appears, or appears in the wrong place, see the do and don't table in Customize the mapping. If no customization appears to take effect at all, a syntax error in any script file, not necessarily the mapping file, will have prevented every script from loading.
A consent is written only when the channel it governs has data on the same submission: see the consent warning in Cegid Retail Y2 fields mapping.
What to send to support
Tenant, and the environment (production or staging).
Connection name and store identifier.
Time window of the failure.
The Cegid fault text and fault code from the Logs page.
The pass identifier, when a pass is concerned.
FAQ
Last updated

