FeedMender/Errors/Invalid availability
Common rejections
Invalid value [availability]
Availability is a closed list of four values, and everything else is invalid, including perfectly clear wording like a Dutch op voorraad, a stock count, or the word available itself.
What Google requires
in_stock, out_of_stock, preorder or backorder
Those four strings, in English, exactly. A preorder or backorder product additionally needs availability_date in ISO 8601 saying when it ships. The attribute describes purchasability, not warehouse arithmetic, so numbers do not belong in it, and Google does not translate: feeds legitimately written in Dutch, French or German still fail on availability wording their own language makes perfectly clear.
What happens if you do not
The product is refused at the door
Availability is required, so an invalid value blocks the product outright. Because the wording comes from the shop system's stock field, the same invalid value usually covers the entire catalogue: one plugin writing available disapproves everything at once. A missing availability_date on preorder products fails them just as reliably.
How to fix it by hand
Map your wording once, in Merchant Center
- Find every distinct value your feed uses for stock state.
- In Merchant Center, add an attribute rule that maps each one onto the four allowed values, for example op voorraad to in_stock.
- A rule beats editing the export because it runs against whatever the feed says on every future sync, so tonight's regeneration cannot reintroduce the fault.
- Give preorder and backorder products an
availability_date.
Which of our checks apply
8 checks apply, read from the scanner's registry
The scan recognises stock wording in Dutch, French, German and English and derives the correct enum value where it can. Contradictions, in stock but quantity zero, are reported rather than silently resolved, because only your shop knows the truth.
availability_valueblocksavailability_missingblocksavailability_derivedblocksavailability_contradicts_quantityat riskavailability_date_missingblocksavailability_date_formatblocksavailability_date_pastblocksavailability_date_without_preorderat risk
The quicker way
Let the scan find them
The report hands you the exact mapping rule for your own stock wording, ready to paste into Merchant Center once. The scan to identify errors is free and shows every finding before you pay anything. You only pay for the fix.