Texture showing up as black during render

Hi, I’m having an issue with a texture showing up black on an object. It’s a bit weird because the object that is showing up black is using the same material that is applied to other objects and those other ones show up fine during the render.
I have made sure that the UV maps are correct and that the normals are facing the right way but it still shows up black when I render. Everything else in the scene is fine. I also made sure that my memory isn’t being all used up. This also only happens when I actually click the “render” button, if I go into render view in the viewport the texture shows up just fine.
Any ideas what might be causing this?