Content
@
0 reply
0 recast
0 reaction
Johanna π©
@johanna
Pinning to ipfs using pinata API works perfectly locally, but in production the API call fails with bad request. I was thinking it might have to do with access tokens, host origins etc but I am not using my gateway. Just pinning to my account what am i missing?
2 replies
0 recast
3 reactions
Steve πͺβ¨οΈ
@stevedylandev.eth
Could be a few things! Are you using environment variables for the API key? If so it would be a good idea to check and make sure the same variable is making it and is correct in the production environment. If you log out the error when it fails and check the production logs that might help too!
0 reply
0 recast
1 reaction