" I was in Taipei last year. " is not difficult to understand :)
" I had in Taipei last year " is wrong sentence.
" I had been in Taipei last year " is an incomplete sentence unless you say more things in front or at the back of this sentence.
eg While you were in the US, I had been in Taipei last year.
' had been ' refers to a period of time there.
- For Teachers