problem with inventory system created with interface C++

So I want to create an inventory system and be able to pick up item and store them into my inventory array: TArray<AItem*> ItemList;

InteractInterface.h:

#pragma once

#include “CoreMinimal.h”
#include “UObject/Interface.h”
#include “InteractInterface.generated.h”

UINTERFACE(MinimalAPI)
class UInteractInterface : public UInterface
{
GENERATED_BODY()
};

/**
*
*/
class RPGPROJECT_API IInteractInterface
{
GENERATED_BODY()

// Add interface functions to this class. This is the class that will be inherited to implement this interface.

public:

UFUNCTION(BlueprintCallable, BlueprintNativeEvent, Category = "Interact")
	void Interact();

UFUNCTION()
	virtual void InteractPure();

UFUNCTION(BlueprintCallable, BlueprintNativeEvent, Category = "Interaction")
	class AItem* GetItem();

};

I set overlappingitems in character.h:
FORCEINLINE void SetOverlappingItem(AItem* Item) { OverlappingItem = Item; }

And execute it in item.cpp:

void AItem::OnSphereOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult)
{
APlayerCharacter* PlayerCharacter = Cast(OtherActor);
if (PlayerCharacter)
{
PlayerCharacter->SetOverlappingItem(this);
}
}

item.cpp:

AItem* AItem::GetItem_Implementation()
{
return this;
}

PickUp function in character class:

void APlayerCharacter::PickUp()
{
if (OverlappingItem)
{
TArray<AActor*> OverlappingActors;
this->GetOverlappingActors(OverlappingActors, TSubclassOf());

	for (auto& OverlappingActors : OverlappingActors)
	{
		if (OverlappingActors->GetClass()->ImplementsInterface(UInteractInterface::StaticClass()))
		{
			AItem* ItemToAdd = IInteractInterface::Excute_GetItem(OverlappingActors);
			if (ItemToAdd)
			{
				AddToIntentory(ItemToAdd);
				IInteractInterface::Execute_Interact(OverlappingActors);
			}
		}
	}
}

}

the errors:

1>E:\UE5_Games\Project\RPGProject\Source\RPGProject\PlayerCharacter.cpp(166): error C4456: declaration of ‘OverlappingActors’ hides previous local declaration
1>E:\UE5_Games\Project\RPGProject\Source\RPGProject\PlayerCharacter.cpp(163): note: see declaration of ‘OverlappingActors’
1>E:\UE5_Games\Project\RPGProject\Source\RPGProject\PlayerCharacter.cpp(170): error C2039: ‘Excute_GetItem’: is not a member of ‘IInteractInterface’
1>E:\UE5_Games\Project\RPGProject\Source\RPGProject\InteractInterface.h(18): note: see declaration of ‘IInteractInterface’
1>E:\UE5_Games\Project\RPGProject\Source\RPGProject\PlayerCharacter.cpp(170): error C3861: ‘Excute_GetItem’: identifier not found
1>[8/10] Link UnrealEditor-RPGProject.lib cancelled

I guess it has something to do with the array?

You have a mistake in for loop: the name of element variable is the same to name of array.
Also, the correct function name to call is Execute_GetItem, not Excute_GetItem (you just forgot a single letter).