not sure what is going on in the terminal when i try C:\Users\circu\OneDrive\Desktop\openaitest\gpt-app> node uploadFile.js
Check out your apikey which should in headers→Authorization, now it is undefined
. That’s the reason you got a 401 Error
, which means unauthorized access
.