API call works locally but fails on PROD
Any reason why this behaviour happens ?
4 Replies
We'd need to know how/why it fails to be able to know
I making an Authenticated API call (hardcoded bearer token) , it works locally but on workers I get a response from external API saying credentials is invalid which indicates there is something wrong with the token
@Walshy | DevPlat EE does cloudflare mess up headers ?
I'd suggest checking your secret, it is very likely incorrect
no
lots of customers using bearer auth
I hardcoded my token and I'm still blocked