Why am I getting an Input to UFunction Invalid for the string?

I’ve gotten the Proper links but when I pass in a string from blueprint I am getting invalid for the string.

	UFUNCTION(BlueprintCallable, Category = "SQLite")
		int32 BP_OpenDatabase(FString filename);

	int32 ARPG_Database::BP_OpenDatabase(FString filename)// Opens the database specifed by filename.  Returns true or false.")
	{
		return OpenDatabase(TCHAR_TO_ANSI(*filename));
	}

#dont use filename

The variable name filename and Filename have naming conflicts with certain modules of the editor.

Try the below

and also

have you verified that the string is not “” when it first enters the function?

int32 ARPG_Database::BP_OpenDatabase(FString SQFilename)// Opens the database specifed by filename.  Returns true or false.")
    {
       //check first
       GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, FString::Printf(TEXT("value as FString: %s"), *SQFilename));

       return OpenDatabase(TCHAR_TO_ANSI(*SQFilename));
    }

I got it working this morning, my issue is the fact that I did not state a File Ext for the SQLite DB but this is nice to know as well for naming conventions. Also There is an issue where I can still not debug a FString during a break line unless i pipe it into a std::string.

Thank you sir.