Can not get the Solar Credit in 2023 or 2024. What needs to be done to get the credit

When I filed by 2023 and 2024, the app said I will not get the Solar Panels credit but will said I can try next year Why?