Quantcast
Channel: Square Developer Forums - Latest topics
Viewing all articles
Browse latest Browse all 1326

Authentication issues with using sandbox api keys on development site

$
0
0

i have a development site on vercel, i have the sandbox api all setup like how i have it on my local dev environment.

on my local machine everything works flawlessly, but when i try to test the staging test im getting:

Error fetching catalog items: {
  message: 'Response status code was not ok: 401.',
  response: undefined
}

So I deployed a production site with the live square api keys and live catalog ids, and it works fine.

Does the sandbox api keys not work on staging environments?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1326

Trending Articles