Ran into this issues when testing new dataflows feature. All scheduled refreshes in "My Workspace", whose tables were also in the "test" dataflow would fail. Reconfiguring service gateway privacy settings solved refresh failure issue.
Were you able to solve the active acripting issue. I am also facing a similar issue where active scripting is enabled but I am getting an error while trying to refresh