CORS issue on Preview, but not live site

Getting the following CORS error when Previewing my site. Not affecting the function of the Live site. Can anyone tell me what’s going on?

Error in browser inspector…

…has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

Suggested first steps to troubleshoot?

Because in preview the call is made via a different url. So probably your live site’s url is authorized to call the server but not the preview url

where would I change this? This just started happening so it must of been a recent call I’ve added. Unfortunately, I’m a novice developer and wildly unorganized so any advice or direction on places to start would be much appreciated!