PKCE verification failed - JS localhost

I've been trying to build a local app that can access the API, so I can build specific email reports. I'm able to get an authorization code, but once I make a POST request to the Access Token endpoint, I getย  '{"error":"invalid_grant","error_description":"PKCE verification failed."}'

ย 

I have double-checked that the verification code and its hash "match". I'm using Axios for HTTP calls.

ย 

Could this be a CORS issue?

2 replies
Free September Webinar

Join us for this free, one-hour webinar to build a proven email marketing strategy that takes the guesswork out of creating email campaigns that deliver real results.