Journal Entry Import - Account not recognised

I have created a Chart with Account# and Account Name.

By default the account is displayed as “59000 - Cash on Hand - LEGA”

When I try to import a journal, only referring to the name it fails.

I wanted to see if its possible to import the JV using only the name.
Cash on Hand 1000 Dr
XYZ 1000Cr