JS Asset Picker: No 'Access-Control-Allow-Origin' header is present on the requested resource
I'm using the asset picker documented here: https://helpx.adobe.com/experience-manager/6-2/assets/using/asset-picker.html
I keep getting the following error and wondering what I'm doing wrong?
Access to XMLHttpRequest at 'https:/blah/content/dam/example.jpg' from origin 'https://local.test.blah.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Do I need to change my header or something? I'm using an XHR javascript request.