Can't make Data or Workflow API calls from Chrome extension?

I have a set of Data and Workflow API calls that I make to update User fields – pretty basic PATCH and POST requests that work successfully from all the environments I’ve tried, except…

When I try to make these API calls from a Chrome extension, Bubble either silently rejects them (e.g., doesn’t throw errors, but doesn’t make any updates), or rejects them entirely (e.g., throws 400s, even though the endpoint exists).

Anyone else experience this? Any reason why this would be the case?

p.s. for testing purposes I already have my extension’s host_permissions set to <all_urls>, so I know that’s not the root cause. Perhaps Bubble is rejecting requests that come from extension-looking URLs like chrome-extension://<extension_id>/index.html ?

Mystery solved → I hadn’t included Content-Type: application/json as one of my headers in the fetch request. Face palm. Carry on :wink: