Issue with step "Manage Items and Data"

According the step of tutorial I need to create a new C++ class in a new folder Data.

After pressing the “Create” button, the Unreal Engine opens Visual Studio, where all the code is underlined with errors. What’s wrong?

I tried compile from UE and VS, both return error.

Candidate modules for hot reload:
  AdventureProject
Launching UnrealBuildTool... [C:/Program Files/Epic Games/UE_5.6/Engine/Build/BatchFiles/Build.bat  -ModuleWithSuffix=AdventureProject,5549 AdventureProjectEditor Win64 Development -Project="D:/Unreal Projects/AdventureProject/AdventureProject.uproject" "D:/Unreal Projects/AdventureProject/AdventureProject.uproject"  -IgnoreJunk]
Warning: Starting HotReload took  0.0s.
CompilerResultsLog: Using bundled DotNet SDK version: 8.0.300 win-x64
CompilerResultsLog: Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -ModuleWithSuffix=AdventureProject,5549 AdventureProjectEditor Win64 Development -Project="D:/Unreal Projects/AdventureProject/AdventureProject.uproject" "D:/Unreal Projects/AdventureProject/AdventureProject.uproject"  -IgnoreJunk
CompilerResultsLog: Log file: C:\Users\User\AppData\Local\UnrealBuildTool\Log.txt
CompilerResultsLog: Invalidating makefile for AdventureProjectEditor (UHT files changed)
CompilerResultsLog: Parsing headers for AdventureProjectEditor
CompilerResultsLog:   Running Internal UnrealHeaderTool "D:\Unreal Projects\AdventureProject\AdventureProject.uproject" "D:\Unreal Projects\AdventureProject\Intermediate\Build\Win64\AdventureProjectEditor\Development\AdventureProjectEditor.uhtmanifest" -WarningsAsErrors -installed
CompilerResultsLog: Error: D:\Unreal Projects\AdventureProject\Source\AdventureProject\Data\ItemData.h(21) : Error: Unable to find 'class', 'delegate', 'enum', or 'struct' with name 'EItemType'
CompilerResultsLog: Error: D:\Unreal Projects\AdventureProject\Source\AdventureProject\Data\ItemData.h(25) : Error: Unable to find 'class', 'delegate', 'enum', or 'struct' with name 'FItemText'
CompilerResultsLog: Error: D:\Unreal Projects\AdventureProject\Source\AdventureProject\Data\ItemData.h(29) : Error: Unable to find 'class' with name 'UItemDefinition'
CompilerResultsLog: Total of 0 written
CompilerResultsLog: Result: Failed (OtherCompilationError)
CompilerResultsLog: Total execution time: 3.75 seconds
LogMainFrame: MainFrame: Module compiling took 3.982 seconds
Warning: HotReload failed, recompile failed

its usually just an itellisense error, but it can help to right click on your project and generate visual studio files