Unable to pin images to pinterest when cloudflare is enabled

Hello,

Anyone using grow have the same problem when pinning images? I am unable to pin images to pinterest when Cloudflare is enabled. When Cloudflare is disabled I can pin the image to the board. I am attaching the screenshot of the error and details from developer console for reference.

Thanks!

@MoreHelp

Greetings,

Thank you for asking.

May I ask if the Hotlink protection feature is enabled at Cloudflare dashboard for your domain name? :thinking:

Do you see any events / requests related to the Pinterest (open few of them and check for the user-agent if contains “Pinterest” something) being challenged or blocked at Firewall → Overview?

May I ask have you tried using a different Web browser while browsing Pinterest, or tried clearing your Web browser cache?
How about using a Private window (Incognito mode) or a VPN connection if possible?
Is it the same behaviour on your mobile phone (4G LTE, mobile data, cellular)?

2 Likes

Hi Fritex,

The responses to your question are below.

May I ask if the Hotlink protection feature is enabled at Cloudflare dashboard for your domain name?

No, it is disabled.

Do you see any events / requests related to the Pinterest (open few of them and check for the user-agent if contains “Pinterest” something) being challenged or blocked at Firewall → Overview?

No, I am not seeing anything with that filter. Most of the events I see here is “bot fight mode”

May I ask have you tried using a different Web browser while browsing Pinterest, or tried clearing your Web browser cache?

Yes, tried in chrome, firefox and edge with same result. I tried in incognito mode as well with same result. Yes cleared the cache in browser as well as in the wordpress site.

How about using a Private window (Incognito mode) or a VPN connection if possible?
Is it the same behaviour on your mobile phone (4G LTE, mobile data, cellular)?

Same response in private mode as well as phone

Thanks a lot for your help.

Sandhya

@MoreHelp

1 Like

Right, but does any of the requests for “bot fight mode” contain Amazon AS number or user-agent which contains “Pinterest” showing up? :thinking:

Can you share your Pinterest URL so I could try to Pin few of them on my Pinterest?

Otherwise, if you temporary disable the Bot Fight Mode, does it work then?

Could you be able to contact Pinterest support and ask them what is causing the blocking for your domain name, if so?

1 Like

@fritex it does not work even if I turn on Bot Fight mode. I had kept it off for some time, cleared cache and tried it with same result. I have reenabled it for now.

Regarding reaching out to pinterest, when I use their chrome plugin it works fine. But when I use Grow plugin for social sharing for which pinterest is one, it does not work. I reached out to Grow support and they asked me to talk to Cloudflare since it works when Cloudflare is disabled.

To reproduce,
go to URL Green Peas Kachori | Bengali Matar Kachori - My Cooking Journey
in that social share icons, click on pintrest icon and try to pin it to a board. This happens only when I select an image and select a board and save.

Thanks for your help.
Sandhya

1 Like

I am not sure, but I see CORS / CSP issue here and errors in the developer console at Pinterest.

https://www.pinterest.com/pin-builder/?url=https%3A%2F%2Fwww.mycookingjourney.com%2Fgreen-peas-kachori-with-spicy-dum-aloo%2F%3Futm_source%3Dpinterest%26utm_medium%3Dsocial%26utm_campaign%3Dgrow-social-pro&media=https%3A%2F%2Fmycookingjourney.com%2Fwp-content%2Fuploads%2F2020%2F09%2FGreen-peas-kachori-2.jpg&h=1800&w=1200&description=Green Peas Kachori | Bengali Matar Kachori&method=bookmarklet

I am afraid it’s something due to:

  1. The URL of your image
  2. Or the plugin
  3. Or the Pinterest trying to open and create a “Pin” in a new “content window” as a “Frame”
  4. Some combination of all 3 + cookies and privacy settings in my Web browser? (but you also get this error)

For testing purpose, my website also on Cloudflare, and not using plugin for Pinterest, rather just link:

Try visiting my website here and find the Pinterest icon on the “left side” of your screen:

https://www.racunalo.com/mcintosh-predstavio-pojacalo-koje-kosta-kao-dva-tri-bolja-auta/

Or rather, just open below URL and test my “Pin” URL:

https://www.pinterest.com/pin/create/bookmarklet/?pinFave=1&url=https%3A%2F%2Fwww.racunalo.com%2Fmcintosh-predstavio-pojacalo-koje-kosta-kao-dva-tri-bolja-auta%2F&media=https://www.racunalo.com/wp-content/uploads/2022/02/McIntosh-MX180-01.jpg&description=McIntosh+predstavio+poja%C4%8Dalo+koje+ko%C5%A1ta+kao+dva-tri+bolja+auta

Try modifying your plugin to open in “new tab” instead of the “new window” as a “frame”.

Or, try using my “URL scheme”, just for your URL/image and see if it works like that:
https://www.pinterest.com/pin/create/bookmarklet/?pinFave=1&url=https%3A%2F%2Fwww.mycookingjourney.com%2Fgreen-peas-kachori-with-spicy-dum-aloo%2F%3Futm_source%3Dpinterest%26utm_medium%3Dsocial%26utm_campaign%3Dgrow-social-pro&media=https%3A%2F%2Fmycookingjourney.com%2Fwp-content%2Fuploads%2F2020%2F09%2FGreen-peas-kachori-2.jpg&h=1800&w=1200&description=Green Peas Kachori | Bengali Matar Kachori

Even when I try to do it, I got the same error.

Even with this:
https://www.pinterest.com/pin/create/bookmarklet/?pinFave=1&url=https://www.mycookingjourney.com/green-peas-kachori-with-spicy-dum-aloo/&media=https://www.mycookingjourney.com/wp-content/uploads/2020/09/Green-peas-kachori-45-1.jpg&h=1800&w=1200&description=Green

And just in case, I allowed Amazon ASN.

I can see you are using APO for WordPress too.

UPDATE
Okay, I can get error 400 when I enter your URL in this input field.


{
  "resource_response": {
    "error": {
      "status": "failure",
      "http_status": 400,
      "code": 1,
      "message": "Invalid parameters.",
      "message_detail": "Sorry the site is unreachable.",
      "api_error_code": 1,
      "extra_data": {
        "message": "Sorry the site is unreachable."
      }
    },
    "data": null
  },
...
}

Is your domain verified at Pinterest and added to your Pinterest account? :thinking:

Kindly, I’d suggest you to write a ticket to Cloudflare support due to your account and/or domain issue and share the ticket number here with us so we could escalate this issue:

  • Login to Cloudflare and then contact Cloudflare Support by clicking on the Get More Help button. If you get automatic reply, reply and indicate to it you need more help and reference to this topic
  • Or send an an e-mail to support[at]cloudflare[dot]com from your e-mail associated with your Cloudflare account
2 Likes

@fritex. Thanks a lot ticket 2382217 has been opened for this.

Thank you. I have escalated your ticket.

Kindly and patiently wait for a reply on your ticket and here (just in case).

2 Likes

Thank you.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.