Back to the dictionary
へたこいた (hetakoita) means "I failed; I screwed up". It is an interjection. It is a colloquial word.