OpenTable Block 403 network errors
Impacted plugin
Jetpack
Steps to Reproduce
- Go to the editor.
- Insert OpenTable block.
- Type anything into the field.
- 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
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.
Internal reference: p1638807404196300-slack-C0299DMPG
I've also messaged OpenTable on Twitter.
Internal Ticket reference: 4573464-zen
It does not seem to be an outage, but more likely that they stopped allowing cross origin requests somewhere last week.
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. 👍
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.
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.
Created a new ticket due to a change in email recipients.
Internal Ticket Reference: 4699012-zen
Closing as duplicate of #39410.
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 4573464-zen
- [ ] 4699012-zen