Can’t Disconnect
-
Hello,
I’m trying to click the “Disconnect from Square” button and having a big problem. I was to Disconnect and reconnect. I’ve tried deleting the plugin and reinstalling, and it seems the old data is “trapped” and I don’t know the database table to clear or SQL commands to run.
I’m getting this error below and I don’t know how to “delete something” from the Database so I can clear the connection. WordPress gives me a “critical error” when I click the disconnect button and sends me to this log file:
01-22-2021 @ 04:57:39 – Could not retrieve business locations.
01-22-2021 @ 04:57:45 – Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.2.5 (WooCommerce/4.0.1; WordPress/5.4.1)
headers: Array
(
)
body:
duration: 0.23235s01-22-2021 @ 04:57:45 – Response
Response
code: 401
message:
headers: Array
(
[0] => HTTP/2 401
[content-type] => application/json
[vary] => Origin, Accept-Encoding
[x-content-type-options] => nosniff
[x-download-options] => noopen
[x-frame-options] => SAMEORIGIN
[x-permitted-cross-domain-policies] => none
[x-xss-protection] => 1; mode=block
[date] => Fri, 22 Jan 2021 08:57:45 GMT
[content-length] => 438
[strict-transport-security] => max-age=631152000; includeSubDomains; preload
)
body: Array
(
[errors] => Array
(
[0] => stdClass Object
(
[category] => AUTHENTICATION_ERROR
[code] => UNAUTHORIZED
[detail] => TheAuthorization
http header of your request was incorrect or expired. The header value is expected to be of the format "Bearer TOKEN" (without quotation marks), where TOKEN is a valid access token (e.g. "Bearer ABC123def456GHI789jkl0"). For more information, see https://developer.squareup.com/docs/build-basics/using-rest-api#__set-the-headers__ .
))
)
01-22-2021 @ 04:57:45 - Could not retrieve business locations.
- The topic ‘Can’t Disconnect’ is closed to new replies.