10up / brightcove-video-connect

A plugin to integrate your Brightcove video library or libraries with WordPress
https://www.brightcove.com/
GNU General Public License v2.0
22 stars 34 forks source link

Failing experiences REST API request #367

Closed jonnynews closed 8 months ago

jonnynews commented 10 months ago

Describe the bug

When opening the CMS / WP-admin, I noticed there is a failed REST API call to the experiences API. This API gets a 403 returned stated ( see screenshot ). As this request returns with an error state ( 403 ), this API request is not cached. This uncached API request happens on every page load, slowing down the responsiveness of WordPress.

Steps to Reproduce

  1. Setup plugin.
  2. Install and activate query monitor.
  3. Go to wp-admin.
  4. See failed REST API request. ( See screenshot ).

Screenshots, screen recording, code snippet

Screenshot 2023-12-01 at 13 03 52

Environment information

No response

WordPress information

WP: 6.2. Brightcove: 2.8.3

Code of Conduct

spacedmonkey commented 9 months ago

This is a pretty major bug, any chance someone could look into this. CC @felipeelia