jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

OpenTable Block 403 network errors

Open AnthonyLedesma opened this issue 4 years ago • 9 comments

Impacted plugin

Jetpack

Steps to Reproduce

  1. Go to the editor.
  2. Insert OpenTable block.
  3. Type anything into the field.
  4. Notice 403 response from API under inspector controls.

A clear and concise description of what you expected to happen.

Expect block to be resilient to API changes.

What actually happened

Block seems unusable at the moment.

Other information

This is also happening on the CoBlocks implementation of OpenTable so I thought to test it here as well.

Operating System

macOS

OS Version

No response

Browser

Chrome/Chromium, Firefox

Browser Version(s)

No response

AnthonyLedesma avatar Dec 06 '21 15:12 AnthonyLedesma

Thanks for the report. The issue seems to be with the Restaurant Search API from OpenTable: https://github.com/Automattic/jetpack/blob/e13487d0dbbe4c743739b6f1a3e37c143a8c2614/projects/plugins/jetpack/extensions/blocks/opentable/use-restaurant-search.js#L16-L18

Their API status page doesn't report any outages at the moment, so we'll need to investigate some more to find out what's happening.

jeherve avatar Dec 06 '21 16:12 jeherve

Internal reference: p1638807404196300-slack-C0299DMPG

I've also messaged OpenTable on Twitter.

Internal Ticket reference: 4573464-zen

jeherve avatar Dec 06 '21 16:12 jeherve

It does not seem to be an outage, but more likely that they stopped allowing cross origin requests somewhere last week.

olafleur-godaddy avatar Dec 06 '21 16:12 olafleur-godaddy

I've emailed them to find out more. I'll update this issue once I have more information.

This is also happening on the CoBlocks implementation of OpenTable so I thought to test it here as well.

Cross-posting here for reference: https://github.com/godaddy-wordpress/coblocks/issues/2188

I'll update you there as well if this gets fixed on their end. 👍

jeherve avatar Dec 06 '21 16:12 jeherve

Hi! We've got a reply from OpenTable:

Thank you for reaching out. We're investigating this and will get back to you.

I've asked them to share any findings with us so that we can make any changes if needed.

purplepioneer avatar Dec 06 '21 20:12 purplepioneer

FYI, one of our devs wrote a workaround that should be merged today : https://github.com/godaddy-wordpress/coblocks/pull/2204

Basically it's creating a REST endpoint to proxy the call to the API.

olafleur-godaddy avatar Dec 14 '21 18:12 olafleur-godaddy

Created a new ticket due to a change in email recipients.

Internal Ticket Reference: 4699012-zen

AnthonyFaxlandez avatar Jan 18 '22 21:01 AnthonyFaxlandez

Closing as duplicate of #39410.

jeherve avatar Oct 01 '24 16:10 jeherve

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 4573464-zen
  • [ ] 4699012-zen

github-actions[bot] avatar Oct 01 '24 16:10 github-actions[bot]