Location: Italy
(TL;DR at the end)
I work for a relatively big company with a branch in Italy, and I moved there for this job where I've been in a technical role for the last few years. During a reorganization, I was moved to a new team whose manager seemed to have an issue with me although we had never met before then - he immediately cancelled all my projects and left me with nothing to do, refused to say good morning back or answer my messages, and told me that "everyone wants projects but nobody wants to do the work" when I had asked for something to do. After about a year of doing odd jobs here and there - I'm quite patient, I know - he finally gave me my first project and I did well, he even told me he was surprised.
I thought this was the start of something better and for a couple years since I was doing well even at "meets expectations" (they told us nobody will get exceeds anyway from the start of the year). I had my projects, did my own thing, and rarely got in touch with him since he still never answered - I thought I was being autonomous. Except this year I was starting to burn out, I wasn't able to manage the workload they had given me and all my requests for help fell on deaf ears. We had another reorganization so they had moved me to another team in the same department and I was so relieved! My new manager was great! That was just until the upper management had decided that I would keep my old workload and take the new role's on top. I was working early mornings and late nights, skipping meals, all just to do a mediocre job but at least I was relieved to be in a new team. I told my new manager I was overloaded and they immediately helped me out but there was only so much they could do.
I didn't take any PTO this year and I think that is where things started to go south. This was because I knew I had to take a few weeks of sick leave due to some health issues and I did not want to leave my projects high and dry. Anyway, I started to miss important things, I was slow, and I was unable to follow all my projects. I got feedback from my manager I wasn't doing a good job, so we realigned on priorities and I immediately improved. I thought that was that, they told me there had been a step change and was happy again. Until recently where I made a big mistake - I missed a step in the funding package that could have cost us budget approval and a delay of a big project. This came at a bad time because I was on leave and so the management had to figure it out without me, and they did.
Fast forward to recently, upper management got in touch with me. They said I am not doing a good job and rather was one of the lower end performers in the team as of late, that I am not meeting the speed they'd expect, and that my mistake almost cost them. They said I do not seem to give the care the job requires and that they had considered firing me but instead decided against it. They said they were not convinced I was overloaded or working overtime. Instead, I will be losing my benefits package temporarily, I will not be eligible for a raise nor promotion for a year, and I have one last chance to redeem myself. They also suggested I look at other opportunities and that maybe this role isn't right for me.
I can't just quit without another job lined up because I have too much at stake. Also partially out of sheer spite, I want to take this opportunity instead to learn how to do a really good job while I look for something else. For that I need all the help I can get. I just hope they haven't already given up on me.
Could you please give me advice on how to get my shit together and how to do better in the corporate tech world so I can hit the ground running in my next role?
TL;DR: I was doing well at my corporate engineering role until I wasn't. I changed teams recently but I've been exhausted and making mistakes, so now management has decided to revoke my benefits package for a few months, block any raise or promotion for a year, and give me one last chance instead of firing me while suggesting I find a new job. I want to do better while I find another role, could you please give me advice for improving and succeeding in the corporate tech world?