This is also the error I found in Woocommerce dubug log:
04-14-2021 @ 07:54:09 - Response
Response
code: 401
message:
headers: Array
(
[0] => HTTP/1.1 401 Unauthorized
[Date] => Wed, 14 Apr 2021 07:54:09 GMT
[Frame-Options] => DENY
[X-Frame-Options] => DENY
[X-Content-Type-Options] => nosniff
[X-Xss-Protection] => 1; mode=block
[Content-Type] => application/json
[Content-Length] => 614
[Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
)
body: Array
(
[errors] => Array
(
[0] => stdClass Object
(
[code] => UNAUTHORIZED
[detail] => Your request did not include an <code>Authorization</code> http header with an access token. The header value is expected to be of the format "Bearer TOKEN" (without quotation marks), where TOKEN is to be replaced with your access token (e.g. "Bearer ABC123def456GHI789jkl0"). For more information, see https://developer.squareup.com/docs/build-basics/using-rest-api#__set-the-headers__ . If you are seeing this error message while using one of our officially supported client libraries, please report this to [email protected].
[category] => AUTHENTICATION_ERROR