APPMETRICS - No 'Access-Control-Allow-Origin' header ERRORS from apps - started at 3am PDT 08/18/2015

Not applicable

I started getting HTTP 400 errors from "No 'Access-Control-Allow-Origin' header" in my applications.

This started happening all of a sudden without warning and is happening from multiple javascript applications that call UserGrid.

The error looks like it is coming from the APPMETRICS modules on Apigee.

POST https://api.usergrid.com/fwward2011/globalspotz/apm/apmMetrics 400 (Bad Request)Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.sync @ apigee.js:2697Apigee.MonitoringClient.prepareSync @ apigee.js:3059onReadyStateChange @ apigee.js:2662Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.downloadConfig @ apigee.js:2639Apigee.MonitoringClient @ apigee.js:2544Usergrid.Client @ apigee.js:65(anonymous function) @ getUserInfo_main.js:81x.Callbacks.c @ jquery.min.js:4x.Callbacks.p.fireWith @ jquery.min.js:4k @ jquery.min.js:6x.ajaxTransport.send.r @ jquery.min.js:6

XMLHttpRequest cannot load https://api.usergrid.com/fwward2011/globalspotz/apm/apmMetrics. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://fwward2011.promospotz.com' is therefore not allowed access. The response had HTTP status code 400.Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.sync @ apigee.js:2697Apigee.MonitoringClient.prepareSync @ apigee.js:3059onReadyStateChange @ apigee.js:2662Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.downloadConfig @ apigee.js:2639Apigee.MonitoringClient @ apigee.js:2544Usergrid.Client @ apigee.js:65(anonymous function) @ getUserInfo_main.js:81x.Callbacks.c @ jquery.min.js:4x.Callbacks.p.fireWith @ jquery.min.js:4k @ jquery.min.js:6x.ajaxTransport.send.r @ jquery.min.js:6

0 3 812
3 REPLIES 3

Not applicable

NOW getting this error - ALSO, there are errors in the new portal concerning EVERYTHING from account, to collections, to indexes ...

Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://api.usergrid.com/fwward2011/globalspotz/apm/apmMetrics'.Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.sync @ apigee.js:2697Apigee.MonitoringClient.prepareSync @ apigee.js:3059onReadyStateChange @ apigee.js:2662Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.patchNetworkCalls.XHR.send @ apigee.js:2963Apigee.MonitoringClient.downloadConfig @ apigee.js:2639Apigee.MonitoringClient @ apigee.js:2544Usergrid.Client @ apigee.js:65getShares @ getShares.js:8(anonymous function) @ getStatistics.js:58Usergrid.Client.request.xhr.onload @ apigee.js:186

Not applicable

XMLHttpRequest cannot load https://api.usergrid.com/management/organizations/fwward2011/applications?_…cess_token=YWMtaL6eckWbE.... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://apigee.com' is therefore not allowed access. The response had HTTP status code 400.

GET https://api.usergrid.com/fwward2011/sandbox/apm/apigeeMobileConfig 400 (Bad Request)Apigee.MonitoringClient.downloadConfig @ apigee.js:2639Apigee.MonitoringClient @ apigee.js:2544Usergrid.Client @ apigee.js:65(anonymous function) @ app.js:32x.Callbacks.c @ jquery.min.js:4x.Callbacks.p.fireWith @ jquery.min.js:4x.extend.ready @ jquery.min.js:4q @ jquery.min.js:4 apigee.js:2639

XMLHttpRequest cannot load https://api.usergrid.com/fwward2011/sandbox/apm/apigeeMobileConfig. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://fwward2011.promospotz.com' is therefore not allowed access. The response had HTTP status code 400.Apigee.MonitoringClient.downloadConfig @ apigee.js:2639Apigee.MonitoringClient @ apigee.js:2544Usergrid.Client @ apigee.js:65(anonymous function) @ app.js:32x.Callbacks.c @ jquery.min.js:4x.Callbacks.p.fireWith @ jquery.min.js:4x.extend.ready @ jquery.min.js:4q @ jquery.min.js:4 apigee.js:67 DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://api.usergrid.com/fwward2011/sandbox/apm/apigeeMobileConfig'. at Error (native) at Apigee.MonitoringClient.downloadConfig (http://fwward2011.promospotz.com/portal/js/apigee.js:2639:19) at new Apigee.MonitoringClient (http://fwward2011.promospotz.com/portal/js/apigee.js:2544:12) at new Usergrid.Client (http://fwward2011.promospotz.com/portal/js/apigee.js:65:24) at HTMLDocument.<anonymous> (http://fwward2011.promospotz.com/portal/js/app.js:32:16) at x.Callbacks.c (http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:26036) at Object.x.Callbacks.p.fireWith [as resolveWith] (http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:26840) at Function.x.extend.ready (http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:3305) at HTMLDocument.q (http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:717)