Skip to main content
Amazon

Choose the Amazon product type first: when it appears and how to fix it

The message Choose the Amazon product type first (button "Suggest type"). appears when the Amazon Product Type field of the listing holds no product type once its spaces are removed (for example, if it contains only spaces) and you press Load required values or Preview on Amazon. You fix it by typing the product type into that field and repeating the action.

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

Key facts

Module
Amazon
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
5 min

When the code raises this message

In the Odoo 20 code, the method that prepares the schema of a product type starts by reading the Amazon Product Type field of the listing and stripping its spaces. If what is left is empty, it raises Choose the Amazon product type first (button "Suggest type").

It is the first thing that method does: the check happens before the saved schema is looked up and before Amazon is asked anything. When the message is raised, the action that called the method stops. The message is in the published code for Odoo 17, 18, 19 and 20.

The key is the detail about spaces: the code does not simply check whether the field is blank, but whether any value remains once the spaces are removed. That is why the case that leads to the message is a field that contains only spaces.

Code-generated diagram: the Amazon › Catalog › Listings menu, the Load required values and Preview on Amazon buttons, the Amazon Product Type field and the error message
Diagram generated from the module's published code, not an Odoo screenshot. The labels are in English, the module's original text.
Your Odoo doesn't talk to Amazon, Temu or Shopify?
Video: Your Odoo doesn't talk to Amazon, Temu or Shopify?

Which buttons can trigger it

It can appear when you press Load required values or Preview on Amazon on the listing form. Both buttons reach the same method, which raises the message if the field, once its spaces are removed, has no value.

In Odoo 17, 18, 19 and 20, the view hides those two buttons when the Asin field has a value or when the Amazon Product Type field is empty. With the default values the field is empty, so the buttons are not shown until the field has something typed in it and Asin has no value.

That explains why the message does not appear with a blank field: with an empty field the buttons are not shown, so there is nothing to press. To reach the message, the buttons must be visible and the value of the field, without spaces, must be empty.

Checklist

Before pressing the button

  • Open the form from the menu Amazon › Catalog › Listings. Each part of the menu (Amazon, Catalog and Listings) requires the Viewer permission: if you lack one, you do not see that part.
  • Find the Amazon Product Type field: it is on the form, in the Overview group, and also in the Catalog tab, Catalog Status group. Its help text reads: Required by Listings Items PATCH/PUT.
  • Check that the field contains an Amazon product type typed in, not just spaces.
  • If you cannot see Load required values or Preview on Amazon, check two things: that Amazon Product Type is not empty and that Asin has no value. Either condition makes the view hide the buttons.

When the message appears

  • Note which button you pressed: Load required values or Preview on Amazon. Both lead to the same place, so the fix is the same.
  • Go back to the Amazon Product Type field on the form and see whether it contains only spaces instead of a product type. That is the condition the code looks at to raise this message.
  • Delete the spaces and type the Amazon product type that applies into the field.
  • Press the button you were using again.

After fixing it

  • Check that the message no longer appears when you repeat the action.
  • Keep in mind what the code does next: with the product type filled in, it looks for the schema saved for that account, that marketplace, that type, the requirements mode, the language and the parentage level.
  • If it has a saved schema fetched within the allowed period, it uses it. If not, it asks Amazon. According to the code, that happens at most once every seven days for each combination of those values, for as long as the link Amazon gives lasts.
  • If you are going to use the preview, read the article linked above to see what the button does once this check is passed.

What happens when the field does have a value

Once the check is passed, the method carries on with the schema of the product type. To request it, it uses the listing's account, its marketplace, the product type and the requirements mode. If the listing has no requirements mode, the code uses the LISTING mode.

It also picks a language: the user's own, if it is one the module supports, and otherwise a default one. That is why the schema is saved separately for each language.

In addition, if the listing has a variation theme filled in, the code asks for the schema with parentage level CHILD; if not, it uses the level given by the module's base model.

Quick questions

Does it appear the same way in every version?

The message is in the published code for Odoo 17, 18, 19 and 20, and in all of them the view hides the buttons under the same conditions (Asin with a value or Amazon Product Type empty).

The message text at a glance

With Odoo in English, the message you will see is Choose the Amazon product type first (button "Suggest type"). The diagram below gathers that text together with the ones the module publishes in other languages.

Code-generated diagram with the message in Spanish, German, French, Italian and Portuguese
Diagram generated from the module's published translation files, not an Odoo screenshot.

How FlexigoTech can help

If you are implementing Odoo and want your Amazon catalogue properly prepared before publishing, FlexigoTech implements Odoo 17, 18, 19 and 20 and builds custom connectors and integrations. The module is published on Odoo Apps for those versions: you can find the Odoo Apps listing and the module page on flexigotech.com.

Keep reading

Checked in the connector's source code (version 20.0) and the linked sources

Sources