Getting the error: Origin does not match any app domain
This is my setup function:
function setupDropBox() {
var options ={success: function(files) {dbxUpload(files);}}
var button = Dropbox.createChooseButton(options);
document.getElementById("dropbox_controls").appendChild(button);
}
Inserted this into the <head>
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="appkey"></script>
This is what the Google Apps Script Web App Deployment Url Looks like:
https://script.google.com/a/mydomainname.com/macros/s/IdStringHere/exec
I have a G-Suite Business Account
I'm thinking it should be some substring of the Deployment Url. But this is the first time I wrote an app like this and I don't know much about it.