Not getting credit for Tesla Model S and charger

I bought a new Tesla model S in 2022 but I am not getting any tax credit any idea why? I also installed a electric charger in my garage, I see I cannot get the credit for that either.  I thought I could get up to $6000 credit for Tesla Model S. Am I doing something wrong?