Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter orangeaxis

    (@orangeaxis)

    Thank you so much. Disconnecting and reconnecting to Square did the trick! I did actually try this earlier but forgot to click “Save changes” on the settings page. Thanks again!

    Joe

    Thread Starter orangeaxis

    (@orangeaxis)

    (Partial log)

    body: Array
    (
        [0] => Square\Models\Error Object
            (
                [category:Square\Models\Error:private] => AUTHENTICATION_ERROR
                [code:Square\Models\Error:private] => UNAUTHORIZED
                [detail:Square\Models\Error:private] => This request could not be authorized.
                [field:Square\Models\Error:private] => 
            )
    
    )
    
    10-10-2022 @ 15:58:46 - Could not retrieve business locations.
    10-10-2022 @ 15:58:49 - Request
     Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/3.2.0 (WooCommerce/6.9.4; WordPress/6.0.2)
    headers: Array
    (
    )
    body:
    duration: 0.17255s
    
    10-10-2022 @ 15:58:49 - Response
     Response
    code: 401
    message:
    headers: Array
    (
        [0] => HTTP/2 401
        [date] => Mon, 10 Oct 2022 19:58:49 GMT
        [content-type] => application/json
        [content-length] => 161
        [vary] => Origin, Accept-Encoding
        [x-content-type-options] => nosniff
        [x-download-options] => noopen
        [x-frame-options] => SAMEORIGIN
        [x-permitted-cross-domain-policies] => none
        [x-sq-envoy-safe-auth-decision] => UNAUTHORIZED
        [x-xss-protection] => 1; mode=block
        [x-sq-dc] => sjc3b
        [x-sq-region] => sjc3b
        [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [0] => Square\Models\Error Object
            (
                [category:Square\Models\Error:private] => AUTHENTICATION_ERROR
                [code:Square\Models\Error:private] => UNAUTHORIZED
                [detail:Square\Models\Error:private] => This request could not be authorized.
                [field:Square\Models\Error:private] => 
            )
    
    )
    
    10-10-2022 @ 15:58:49 - Could not retrieve business locations.
    10-10-2022 @ 15:58:54 - Request
     Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/3.2.0 (WooCommerce/6.9.4; WordPress/6.0.2)
    headers: Array
    (
    )
    body:
    duration: 0.17888s
    
    10-10-2022 @ 15:58:54 - Response
     Response
    code: 401
    message:
    headers: Array
    (
        [0] => HTTP/2 401
        [date] => Mon, 10 Oct 2022 19:58:54 GMT
        [content-type] => application/json
        [content-length] => 161
        [vary] => Origin, Accept-Encoding
        [x-content-type-options] => nosniff
        [x-download-options] => noopen
        [x-frame-options] => SAMEORIGIN
        [x-permitted-cross-domain-policies] => none
        [x-sq-envoy-safe-auth-decision] => UNAUTHORIZED
        [x-xss-protection] => 1; mode=block
        [x-sq-dc] => sjc3b
        [x-sq-region] => sjc3b
        [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [0] => Square\Models\Error Object
            (
                [category:Square\Models\Error:private] => AUTHENTICATION_ERROR
                [code:Square\Models\Error:private] => UNAUTHORIZED
                [detail:Square\Models\Error:private] => This request could not be authorized.
                [field:Square\Models\Error:private] => 
            )
    
    )
    
    10-10-2022 @ 15:58:54 - Could not retrieve business locations.
    10-10-2022 @ 15:58:58 - Request
     Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/3.2.0 (WooCommerce/6.9.4; WordPress/6.0.2)
    headers: Array
    (
    )
    body:
    duration: 0.16994s
    
    10-10-2022 @ 15:58:58 - Response
     Response
    code: 401
    message:
    headers: Array
    (
        [0] => HTTP/2 401
        [date] => Mon, 10 Oct 2022 19:58:58 GMT
        [content-type] => application/json
        [content-length] => 161
        [vary] => Origin, Accept-Encoding
        [x-content-type-options] => nosniff
        [x-download-options] => noopen
        [x-frame-options] => SAMEORIGIN
        [x-permitted-cross-domain-policies] => none
        [x-sq-envoy-safe-auth-decision] => UNAUTHORIZED
        [x-xss-protection] => 1; mode=block
        [x-sq-dc] => sjc3b
        [x-sq-region] => sjc3b
        [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [0] => Square\Models\Error Object
            (
                [category:Square\Models\Error:private] => AUTHENTICATION_ERROR
                [code:Square\Models\Error:private] => UNAUTHORIZED
                [detail:Square\Models\Error:private] => This request could not be authorized.
                [field:Square\Models\Error:private] => 
            )
    
    )
    
    10-10-2022 @ 15:58:58 - Could not retrieve business locations.
    10-10-2022 @ 16:00:00 - Starting step cycle: validate_products
    10-10-2022 @ 16:00:00 - Completed job step: validate_products
    10-10-2022 @ 16:00:00 - Completed step cycle: validate_products (0.03s)
    10-10-2022 @ 16:00:00 - Starting step cycle: square_sor_sync
    10-10-2022 @ 16:00:00 - Generating a new catalog search request
    10-10-2022 @ 16:00:00 - Request
     Request
    method:
    uri: searchCatalogObjects
    user-agent: WooCommerce-Square/3.2.0 (WooCommerce/6.9.4; WordPress/6.0.2)
    headers: Array
    (
    )
    body:
    duration: 0.24581s
    
    10-10-2022 @ 16:00:00 - Response
     Response
    code: 401
    message:
    headers: Array
    (
        [0] => HTTP/2 401
        [date] => Mon, 10 Oct 2022 20:00:00 GMT
        [content-type] => application/json
        [content-length] => 348
        [content-encoding] => gzip
        [vary] => Origin, Accept-Encoding
        [x-content-type-options] => nosniff
        [x-download-options] => noopen
        [x-frame-options] => SAMEORIGIN
        [x-permitted-cross-domain-policies] => none
        [x-speleo-traceid] => KPHReeeAKAXZJ
        [x-xss-protection] => 1; mode=block
        [x-sq-dc] => sjc2b
        [x-sq-region] => sjc2b
        [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [0] => Square\Models\Error Object
            (
                [category:Square\Models\Error:private] => AUTHENTICATION_ERROR
                [code:Square\Models\Error:private] => UNAUTHORIZED
                [detail:Square\Models\Error:private] => The <code>Authorization</code> 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__ .
                [field:Square\Models\Error:private] => 
            )
    
    )
    
    10-10-2022 @ 16:00:00 - Product sync failed. 
    10-10-2022 @ 16:00:01 - Request
     Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/3.2.0 (WooCommerce/6.9.4; WordPress/6.0.2)
    headers: Array
    (
    )
    body:
    duration: 0.18957s
    
    10-10-2022 @ 16:00:01 - Response
     Response
    code: 401
    message:
    headers: Array
    (
        [0] => HTTP/2 401
        [date] => Mon, 10 Oct 2022 20:00:01 GMT
        [content-type] => application/json
        [content-length] => 161
        [vary] => Origin, Accept-Encoding
        [x-content-type-options] => nosniff
        [x-download-options] => noopen
        [x-frame-options] => SAMEORIGIN
        [x-permitted-cross-domain-policies] => none
        [x-sq-envoy-safe-auth-decision] => UNAUTHORIZED
        [x-xss-protection] => 1; mode=block
        [x-sq-dc] => sjc3b
        [x-sq-region] => sjc3b
        [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [0] => Square\Models\Error Object
            (
                [category:Square\Models\Error:private] => AUTHENTICATION_ERROR
                [code:Square\Models\Error:private] => UNAUTHORIZED
                [detail:Square\Models\Error:private] => This request could not be authorized.
                [field:Square\Models\Error:private] => 
            )
    
    )
    
    10-10-2022 @ 16:00:01 - Could not retrieve business locations.
    10-10-2022 @ 16:00:01 - Completed step cycle: square_sor_sync (1.37s)
    10-10-2022 @ 16:01:20 - Request
     Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/3.2.0 (WooCommerce/6.9.4; WordPress/6.0.2)
    headers: Array
    (
    )
    body:
    duration: 0.17073s
    
    10-10-2022 @ 16:01:20 - Response
     Response
    code: 401
    message:
    headers: Array
    (
        [0] => HTTP/2 401
        [date] => Mon, 10 Oct 2022 20:01:20 GMT
        [content-type] => application/json
        [content-length] => 161
        [vary] => Origin, Accept-Encoding
        [x-content-type-options] => nosniff
        [x-download-options] => noopen
        [x-frame-options] => SAMEORIGIN
        [x-permitted-cross-domain-policies] => none
        [x-sq-envoy-safe-auth-decision] => UNAUTHORIZED
        [x-xss-protection] => 1; mode=block
        [x-sq-dc] => sjc3b
        [x-sq-region] => sjc3b
        [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [0] => Square\Models\Error Object
            (
                [category:Square\Models\Error:private] => AUTHENTICATION_ERROR
                [code:Square\Models\Error:private] => UNAUTHORIZED
                [detail:Square\Models\Error:private] => This request could not be authorized.
                [field:Square\Models\Error:private] => 
            )
    
    )
    
    10-10-2022 @ 16:01:20 - Could not retrieve business locations.
    ×
    Thread Starter orangeaxis

    (@orangeaxis)

    Sure, I believe the plugin that is causing this behaviour is Klaviyo Toolkit by https://www.madebytribe.com/. Not 100% sure, but disabling this plugin does that trick. Thanks for looking into this!

    Joe

    Thread Starter orangeaxis

    (@orangeaxis)

    Apparently the issue is with a Klaviyo add-on, not Klaviyo itself. Thanks.

    Joe

    Thread Starter orangeaxis

    (@orangeaxis)

    FYI what I found out is that if you enabled Polly for a post, and then later decide you don’t want to include that particular post in your Pollycast feed, you can’t simply ‘uncheck’ the “Enable Amazon Polly” toggle in the post editor. It will still appear in the feed.

    A workaround is to copy the contents of your post to a text editor (e.g., make a backup of your content), delete the post, and then re-create the post. Ensure that “Enable Amazon Polly” is NOT checked, and then publish your post (adjusting the published on date if necessary).

    🙂

    Thread Starter orangeaxis

    (@orangeaxis)

    Yes, that’s exactly what happened. 🙂 Is there a way to ‘refresh’ the feed, or regenerate it? Thx!

    Thread Starter orangeaxis

    (@orangeaxis)

    Thanks Tomasz, will check this out now. I assume the categories should be separated by commas?

    Thanks again.

    Joe

    Thread Starter orangeaxis

    (@orangeaxis)

    Tomasz, that’s awesome. Thanks so much!!

    Thread Starter orangeaxis

    (@orangeaxis)

    @tstachlewski, for me personally, I don’t think it even needs to be configurable. I would simply include all Polly-enabled posts in the feed. I can’t think of a use case where someone would only want ‘some’ of their posts included in their feed.

    Thanks!

    Joe

    Thread Starter orangeaxis

    (@orangeaxis)

    @tstachlewski, yes my recommendation would be to remove the limit. I know for the projects we are currently testing with this, everyone has asked us “why only 20?”

    Perhaps you could provide the user with include 10 latest, 20 latest, or show all.

    BTW, if there is any kind of PHP hack you share where I could have the aforementioned pollycast feed show all entries, I’d appreciate it. This client is really chomping at the bit to have all of the podcasts appear in the iTunes channel 🙂

    Thanks Tomasz!

    Joe

    Hi @locallad. I can see your player just fine here:

    https://www.brightfuturenow.co.uk/master-your-mind-and-your-thoughts/

    Perhaps it only appears when you drill down to individual post pages (?).

    Joe

    • This reply was modified 7 years, 12 months ago by orangeaxis.
    orangeaxis

    (@orangeaxis)

    Just wanted to chime in and say that I am also having the problem (featured image is removed when Polly is enabled). We tried rolling this out on Friday for a client who has hundreds of blog posts, and after doing the bulk update all of the image were removed. Yikes! (Thank goodness for backups).

    @tstachlewski, I’ll be eagerly looking forward to the next update 🙂 Also, I’m curious as what would cause this issue.

    Thread Starter orangeaxis

    (@orangeaxis)

    Resolved. 🙂

    Thread Starter orangeaxis

    (@orangeaxis)

    I believe I have found the culprit. The Dashlane Chrome extension (Dashlane is a password manager) is looking at the AWS secret key textbox and considering it a password field. Dashlane was overwriting the AWS key with something else (probably the website WordPress admin password) every time I hit the settings page.

    Once I disabled the extension, I was able to get things working.

    Dashlane users – I would advise that you do *not* save if prompted by Dashlane once you enter your AWS keys.

    Thanks!

    Thread Starter orangeaxis

    (@orangeaxis)

    @tstachlewski yes that is correct. I can change the value(s) and all of the drop-down boxes work, but when I save, all of the fields return to “Please verify your AWS Credentials are accurate.”

    It sure sounds like a caching issue to me. Continuing to troubleshoot on my end.

    Thx!

Viewing 15 replies - 1 through 15 (of 20 total)