Magento – Magento2 Error: Attribute with attributeCode “X” does not exist

errormagento2product-attribute

I have created a new attribute for products and added that to the default attribute set. When I then click to navigate to Products > Catalog so that I can implement the attribute, I got the following error:

Attribute with attributeCode "X" does not exist.

Any suggestions on how to resolve that?

Best Answer

  1. Please check the global value. It must be set to 1.
  2. Please check the value of is_global in catalog_eav_attribute. It must be 1.
  3. Clean the cache and re-index.
Related Topic