why am getting console error when request send 400 response? - reactjs

we are using react and node for our project. after the google signup flow if the user already exists it display the console error. even after we checked there is no console printed. I have to remove the console error

By default, Google Chrome and any modern browser (tried with Firefox too) prints the network error logs in console in that way.
Check this Stack Overflow question for more information:
Suppress Chrome 'Failed to load resource' messages in console

Related

React axios api call returns "net::ERR_INTERNET_DISCONNECTED 200" error in chrome devtools [duplicate]

This problem has appeared a few days ago with this message into the console:
GET http://any_url net::ERR_INTERNET_DISCONNECTED
Pages work fine as soon the console is closed
I had the same problem. Open the console, select the "Network" and choose "not throttling" instead "offline".

React. IE11 requests being blocked

Im testing my react app in IE11 but all the requests I make to my server are blocked.
SCRIPT7002: XMLHTTPRequest: Network error 0x2efd, Couldnt complete the operation due a 00002efd error.
This happens when i try to do a post in a form.
Only happens in IE11.
I have already added IE11 Support adding this in index.tsx
import "react-app-polyfill/ie11";
I have already disabled browsers protected mode.
The issue was with IE11 being unable to read 3** codes. I had to chenge them all to 2**

Google Console crash report on Production App

I see following error message in android play store crash errors. I'm not able to see the error in simulator. How would I debug this message. Please advise.
java.lang.NullPointerException: at com.codename1.impl.android.InPlaceEditView.a(InPlaceEditView.java:811)
at com.codename1.impl.android.InPlaceEditView.a(InPlaceEditView.java:89)
at com.codename1.impl.android.InPlaceEditView$10.run(InPlaceEditView.java:1567)

Debugging a React Azure Web App

I've got a React app running on Azure. It runs fine in my localhost, however, when I go to the Azure address, it doesn't load; all I get is a blank page with a head and body html element, which is throwing the following error:
Uncaught SyntaxError: Unexpected token <
The immediate question, of course, is what's causing the error and how do I fix it?
The bigger question in the background is, with a backend app, I can enable logging and look at a log stream and see what's throwing errors in real time. With a frontend app, the errors are happening in my browser; the React Chrome extension doesn't even recognize this as a React app. How do I debug in this context?

Endpoints stopped working with proxy.html error

Error I'm getting
Refused to display 'ah/api/static/proxy.html?jsh=m%3B%2F%2">https://appname.appspot.com/ah/api/static/proxy.html?jsh=m%3B%2F%2…8s_uMxLg#parent=http%3A%2F%2Fappname.appspot.com&rpctoken=....' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Everything worked until yesterday. Started browser this morning to access app and got above message. Getting this on other endpoint apps too. Seems to fail when I access the endpoints to get info from the backend.
Yes, Endpoints discovery seems to be failing, but it's on Google's side and not your code. Star this issue and get updates on its progress:
https://code.google.com/p/googleappengine/issues/detail?id=9167
End points are indeed down for several of our apps. Certainly an error on google's side. Got to wait.
Worked till we refreshed the browser page today!
Error noted from Chrome's JavaScript Console:
GET https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=689483000 404 (Not Found) cb=gapi.loaded_0:116
Refused to display 'https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=689483000' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. about:blank:1
GET https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=401828000 404 (Not Found) cb=gapi.loaded_0:116
Refused to display 'https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=401828000' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. about:blank:1
Update (somebody is apparently working on it), the error has changed to:
Invalid gadgets.rpc token. 429366340 vs 703741727 cb=gapi.loaded_0:41
c cb=gapi.loaded_0:41
_.Mb._.sa cb=gapi.loaded_0:41
h cb=gapi.loaded_0:59
c cb=gapi.loaded_0:52
Uncaught Error: m`apiproxy0e30dfc60185e9bebed936e8008c20776b338f810.6918280611280352 cb=gapi.loaded_0:71
_.T.Ca.Mm cb=gapi.loaded_0:71
h cb=gapi.loaded_0:59
c

Resources