This question already has an answer here:
I was fired for performance issues from my previous job and am not sure how to mention this in an interview without severely hampering my chances.
I really did not enjoy the job, it was not fulfilling and the commute was soul crushing, all of which manifested in my performance.
Also, I was initially brought on in for a marketing writer position and due to restructuring was then placed in sales / technical proposal writing, for which I was technically under qualified and from which I was then terminated.
How much do I reveal in an interview and how do I discuss these details while still communicating that those performance issues do not represent my work ethic, just a mismatch between me and the position?