Skip to main content
Scrive

‘Could not fetch Scrive statistics’ error in Odoo: what to do

The message Could not fetch Scrive statistics: … appears when you press Refresh Statistics on a Scrive account and the module's request to Scrive fails with an API error. The action stops, nothing is saved, and the detail of the failure follows the colon.

FlexigoTech · Editor in charge: Víctor Gómez · Updated 5 November 2026

Key facts

Module
Scrive
Versions
Odoo 17, 18, 19 and 20
Checked
in the connector's source code, version 20.0 · against the sources linked at the end
Reading time
4 min

When the message appears and what it means

When does ‘Could not fetch Scrive statistics: …’ appear?

It appears when you press Refresh Statistics on a Scrive account and the request the module makes to Scrive fails with a Scrive API error. At that point the action stops and you see the message.

Where is the button and who can see it?

The account form opens from Scrive › Configuration › Accounts. The Configuration step needs the Manager permission and the Scrive step needs User; if you do not have one of them, you do not see that step of the menu. The Refresh Statistics button is always visible, in Odoo 17, 18, 19 and 20.

Code-generated diagram showing the Scrive, Configuration and Accounts menu, the Refresh Statistics button and the error message
Diagram generated from the module's published code (not an Odoo screenshot): the menu, the button and the message, in Odoo 17, 18, 19 and 20.

What does it mean?

Scrive did not return the usage statistics for the account: the module's request ended with an API error, and the module turns it into this message.

What appears after the colon?

It is the error text returned by the call to Scrive: the module adds it to the end of the message. It is the detail of that particular failure, so it is your clue to what happened. Read it in full before you try again.

Odoo + Scrive: see who signed, get the sealed PDF
Video: Odoo + Scrive: see who signed, get the sealed PDF

How to fix it

How do I fix it?

What explains the failure is the text after the colon, so work from that. Do this, in order: read that text and copy it in full; press Refresh Statistics again; if the message repeats with the same detail, pass it in full to whoever administers the integration, or to FlexigoTech.

Can I repeat the action?

Yes. The error stops the action and nothing it was about to change is saved, so you can press the button again. Each press makes a fresh request to Scrive.

What happens to the account figures when the error appears?

They do not change. The error cuts the action off before the step that writes, so the totals of sent and closed documents and the date of the last request stay as they were.

What the button does when all goes well

What does Refresh Statistics do when there is no error?

It asks Scrive for the usage statistics by day for the last 30 days, adds up the documents sent and closed on each day, and saves on the account the two totals and the date and time of the request. If Scrive replies with no data per day, both totals are saved as zero and there is no error.

And if I press it several times successfully?

Each successful request calculates the two totals and the date and time again, and saves them on the account.

Versions, languages and subscription

Does it appear in every Odoo version?

The message is in the published code of Odoo 17, 18, 19 and 20, and the module is published on Odoo Apps for those four versions. The Refresh Statistics button is always visible in all four.

What text do I search for if my Odoo is not in English?

With Odoo in English you see Could not fetch Scrive statistics: …. This is the same message in other languages, according to the module's published translations:

Code-generated diagram with the message text in Spanish, German, French, Italian and Portuguese
Diagram generated from the module's published translations (not an Odoo screenshot): the message according to the Odoo language.
Odoo languageMessage text
EnglishCould not fetch Scrive statistics: …
SpanishCould not fetch Scrive statistics: …
GermanScrive-Statistiken konnten nicht abgerufen werden: …
FrenchImpossible de récupérer les statistiques Scrive : …
ItalianImpossibile recuperare le statistiche Scrive: …
PortugueseNão foi possível obter as estatísticas da Scrive: …

What does the subscription have to do with this?

Scrive Connector is a one-off purchase per Odoo version and needs the FlexigoTech Cloud subscription, Connector plan: €49 a month or €490 a year, excluding VAT, with up to 3 accounts on the platform (the Pro plan is €98 a month or €980 a year, excluding VAT, with up to 10). The connection goes through FlexigoTech Cloud, which stores the credentials encrypted, watches the synchronisation and emails you if it fails. Without a subscription, or with the service suspended, whatever the subscription provides stops; your data stays in your Odoo. The one-off price for each version is on the Odoo Apps listing and on the module page.

If the detail after the colon does not make things clear, FlexigoTech implements Odoo 17, 18, 19 and 20 and builds connectors and bespoke integrations. If other messages from the module interest you, there is the one about days and the one about callbacks.

Keep reading

What the Send button of Scrive Connector does, step by stepWhat the Send button of Scrive Connector does in Odoo: what it checks, what it creates, where it takes you next and which messages can stop it.Scrive Connector: «Callbacks can only be triggered for sent documents.»When the callbacks error shows up in Scrive Connector for Odoo, which condition triggers it (document state and Scrive ID) and how to fix it.The «Days must be between 1 and 365.» message in Scrive ConnectorWhen Scrive Connector shows «Days must be between 1 and 365.», what the code checks when you press Apply, and how to fix it.
Checked in the connector's source code (version 20.0) and the linked sources

Sources