Skip to main content
Temu

The Draft ID is required to check operation result. message in Temu Connector

The message Draft ID is required to check operation result. can appear when you press Check Operation Result on a Promotion Goods record whose Last Draft field is empty. With that field empty, the module never gets as far as querying Temu. Here is the condition in the code and a checklist to sort it out.

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

Key facts

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

When exactly this message appears

The text Draft ID is required to check operation result. is an error that stops the action. It can appear when you press the Check Operation Result button on the Promotion Goods record. The condition in the code is a single one: the Last Draft field of that record is empty. If the record has a value in Last Draft, this message is not raised.

Code-generated diagram: the Campaign Products menu, the Check Operation Result button, the Last Draft field and the error message
Diagram (not an Odoo screen) showing the route: menu, button, Last Draft field and message, in Odoo 17, 18 and 19.

The button is always visible in Odoo 17, 18 and 19, even when Last Draft is empty, and the message is in the published code of those three branches. Records of this model open from the menu Temu › Catalog › Sales Campaigns › Campaign Products.

The module ships translations, so the button label follows the language of your Odoo. The second diagram shows that label in a Spanish-language Odoo:

Code-generated diagram based on the module's published translations: the Check Operation Result text and how its label looks in a Spanish-language Odoo
Diagram (not an Odoo screen): how the button name changes depending on the language of your Odoo.
Temu orders in Odoo every 15 minutes. Stock out every 5
Video: Temu orders in Odoo every 15 minutes. Stock out every 5

Before you press the button

  • Open the record from Temu › Catalog › Sales Campaigns › Campaign Products.
  • Go to the Operation tab of the Promotion Goods record and look at the Last Draft field.
  • Note whether Last Draft has a value or is empty before doing anything else: it is the only thing that decides whether the message appears.
  • Bear in mind that the button is always visible, even with Last Draft empty: seeing it does not mean the record is ready to be checked.

When you press Check Operation Result

  • Press the button on the record you have just reviewed.
  • If Draft ID is required to check operation result. appears, the diagnosis is done: the Last Draft field of that record is empty.
  • Do not hunt for a connection or credentials problem for this message. The code raises it before querying Temu, so the request never goes out.
  • Do not click again hoping for a different result: with the field empty, the same button gives the same message.
  • Remember that the action stops: nothing the check was going to change on the record is saved.

If the message appears

  • Confirm you are on the right record and that Last Draft really is empty in the Operation tab.
  • Once the record has a value in Last Draft, press Check Operation Result again.
  • If the field stays empty and you need it filled, ask whoever set up the connector how your campaign flow is built. If you would like us to look at it with you, get in touch (details below).

What the button does when there is a value

Knowing what happens next helps you tell this message apart from any other error. With Last Draft filled in, the module asks Temu, through the Temu instance on the record, for the result of the operation for that draft identifier. It then picks which part of the response to use: if an item has a draft identifier matching the record's, it uses that one; if none match but the response contains items, it uses the first.

It then stores on the record the operation status, the failure reason if there is one, the response received and the date and time of the check, and clears the last saved error. If something fails during the query to Temu, the module raises that error again, and it is a different one from this message.

After a successful check

  • Check that the action finishes without any error message.
  • If a different error appears, it is not the Draft ID one: it happened during the query to Temu.
  • If the error persists, note the full text of the message before asking for help: it is what shows where things stopped.

Versions, subscription and help

Temu Connector for Odoo is published on Odoo Apps for Odoo 17, 18, 19 and 20. It is a one-off purchase per version and needs the FlexigoTech Cloud subscription (Connector plan: €49 a month or €490 a year, excluding VAT). The connection to Temu goes through FlexigoTech Cloud, which stores the credentials encrypted, watches the synchronisation and emails you if it fails.

FlexigoTech implements Odoo 17, 18, 19 and 20 and builds custom connectors and integrations. If you want to see the module or tune your campaign flow with us, there is the module page and the Odoo Apps listing.

Keep reading

What the Execute button in Temu Connector for Odoo does, step by stepWhat the Execute button on the Fulfillment form of Temu Connector for Odoo checks, which states it writes and which messages can stop it.
Checked in the connector's source code (version 19.0) and the linked sources

Sources