Odoo troubleshooting
Read Sync History, understand automatic retries, and fix failed Odoo syncs.
Every sync is recorded on the Sync History tab of the Odoo integration page. Each row shows the lead, what triggered the sync, links to the Odoo lead and company, and how many notes and activities it posted.
Read a job
| Status | Meaning |
|---|---|
| Queued | Waiting to run, or waiting for an automatic retry. The row says when it runs next. |
| Running | Syncing now. |
| Success | The lead is in Odoo. An amber note under it lists anything CAARD skipped. |
| Error | The sync stopped. The row explains why and offers Retry. |
The company badge says what happened to the lead’s company: Company linked (an existing Odoo company was reused), Company created, Company: no domain (the lead has no website or work email to match on), Company: no match (no match, and creating companies is off), or Company failed.
Automatic retries
Odoo servers get busy, restart, or sit behind a proxy that limits requests. CAARD retries these on its own, so most of them never reach Sync History.
Each request
A request that’s refused for being too many, or because Odoo is briefly unavailable, is tried again up to three times within a few seconds. When Odoo says how long to wait, CAARD waits that long.
The whole lead
If Odoo is still refusing, the job goes back to Queued and runs again after about 30 seconds, then 2 minutes, then 5 minutes, or later if Odoo asks for a longer wait. The row shows the time and the attempt number.
The rest of a bulk sync
During a bulk sync, the leads after a rate-limited one wait out the same delay instead of adding to the load. Their rows read Waiting its turn and don’t use up any retries.
After the last attempt
The job shows Error. Once Odoo is back, select Retry.
A retry never creates duplicates. If Odoo saved a contact, company, lead, note or activity but its answer got lost on the way back, the retry finds the record and carries on from there.
A sync that stops part-way, for example because CAARD’s own worker was interrupted, is picked up again automatically, usually within half an hour.
How to fix a failed sync
Open Sync History
Go to Integrations → Odoo → Sync History and find the job marked Error.
Read the error
The row shows a short title and what to do. Hover over it to see Odoo’s own message.
Apply the fix
Look the title up in the error reference below.
Check with a test lead
On the Overview tab, select Send test lead to sync a sample lead with your current settings.
Retry
Select Retry on the failed job.
Error reference
These are the titles on failed jobs in Sync History.
Notes on successful jobs
A sync can succeed and still skip something. The amber note under the job says what:
| Note | What to do |
|---|---|
| Skipped unknown Odoo fields | A mapping points at a field your Odoo doesn’t have: a typo, or a field renamed or deleted in Odoo. Fix its technical name on the Field Mapping tab (developer mode shows it on hover), or remove the row. Right after a field is deleted, the job first waits with A mapped field no longer exists in Odoo while CAARD reloads Odoo’s fields. |
| Odoo computes … itself | The mapped field is calculated by Odoo, so CAARD can’t write it. Map a different field. |
| Odoo had no matching option or record | A value didn’t match any choice in Odoo, so that one field was skipped. |
| Odoo couldn’t sync the company | Odoo refused the company record, so the contact synced without it. To stop the sync instead, set On company step failure to Fail entire sync on the Overview tab. |
| Routing skipped the sales team, tag, medium or source | It was deleted, archived, belongs to another company, or the integration user can’t access its company. Pick another on the Routing tab. |
| The lead owner’s Odoo salesperson doesn’t work in the lead’s Odoo company | See Odoo with several companies. |
| Couldn’t post notes to the Odoo chatter, or couldn’t update task activities | Odoo refused the post. CAARD tries again on the lead’s next sync. |
| More notes and tasks will post on the next sync | A lead with a long history posts in batches. |
| This lead has more Odoo chatter history than CAARD tracks | CAARD keeps track of up to 2,000 notes and tasks it posted to one lead. Past that it posts nothing new to that lead’s chatter, so nothing is ever posted twice. Contact support if you see this. |
Connection messages
| Message | What to do |
|---|---|
| Odoo rejected the login or API key | Generate a new key and use Update credentials on the Overview tab |
| This server hosts several databases | Enter the database name. It’s shown in the database selector on the Odoo login page |
| The CRM app isn’t installed | Install CRM from Odoo’s Apps menu, then connect again |
| That address isn’t reachable from CAARD | Use your Odoo’s public https:// address, not an IP address or internal hostname |
| Your Odoo moved to a new address | Use Update credentials with the new address and pick Same Odoo database, new address. Leads already in Odoo keep updating the same records |
| This doesn’t look like the same Odoo database | CAARD couldn’t find the leads it synced before at the new address. If it really is a different Odoo (a staging copy counts), pick A different Odoo |