Kaggle NLP with issue in API

Hej, It seems that I cant come around the “Exception: Your validation data contains a label that isn’t present in the training set, please fix your data.”

Okay so the full story:
I get the data from .csv file. There are Nan-values in two columns so I remove them.
As in the following code

Then I convert the dataframe back to a .csv to use it in the API block. But this time I have no path (I think?).

Now I get the “Exception: Your validation data contains a label that isn’t present in the training set, please fix your data.”

I have tried to look in docs but werent able to find anything I chould use, Maybe I should use another API block?