Project secret key missing

The project secret for IPFS project is now replaced with the API Secret Key. Please how do i use it to authenticate?

Hey @stanley07 and welcome to the Infura community ! It’s just the name changed from project secret to api secret the usage remains the same Make requests - Infura Docs
Our team will update the docs accordingly.

Thanks @traian.vila I have now sorted it out, but am still having “Error: basic auth header is invalid”. how do i get it right

Can you pls share the relevant code snippet ? Thanks !

After uploading successfully to ipfs it return this hash with 504 gateway error. what could be the course?

It’s hard to tell without seeing what your code does exactly.