Network error when fetching collections (happening on multiple collections)

Hello,

I'm facing issues with WeWeb - Xano that I hadn't faced before. I have a bunch of collections that were working perfectly and that I haven't modified, and today they're throwing errors when fetching in WeWeb.

On the WeWeb side it says it's a Network Error. In the API Request History on the Xano side I can't find anything. Not sure where the connection is lost, but what I'm sure about is that something is not working. I've seen on the WeWeb Community that other users are facing similar situations.

This is mostly happening when I load the page and there are a bunch of collections loading. If I go later on and try to fetch it individually, it works fine.

Reminds me to what happened when I reached the limit when I was on the free plan - but I'm on a paid plan now.

Has anyone faced similar issues? Any clue?

Thank you!

Example of the data displayed in WeWeb when the error is triggered:

stack: "Error: Network Error at e.exports (https://editor-cdn.weweb.io/public/js/chunk-vendors.fd1268fd.js:1:115376) at _.onerror (https://editor-cdn.weweb.io/public/js/chunk-vendors.fd1268fd.js:1:110390)"

message: "Network Error"

response: undefined

isAxiosError: true

toJSON: function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}

config

adapter: function(e){return new Promise((function(t,i){var p,g=e.data,f=e.headers,m=e.responseType;function A(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}n.isFormData(g)&&delete f["Content-Type"];var =new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";f.Authorization="Basic "+btoa(v+":"+y)}var b=a(e.baseURL,e.url);function w(){if(){var n="getAllResponseHeaders"in ?l(.getAllResponseHeaders()):null,s=m&&"text"!==m&&"json"!==m?_.response:_.responseText,o={data:s,status:_.status,statusText:_.statusText,headers:n,config:e,request:_};r((function(e){t(e),A()}),(function(e){i(e),A()}),o),_=null}}if(_.open(e.method.toUpperCase(),o(b,e.params,e.paramsSerializer),!0),_.timeout=e.timeout,"onloadend"in ?.onloadend=w:_.onreadystatechange=function(){_&&4===_.readyState&&(0!==_.status||_.responseURL&&0===_.responseURL.indexOf("file:"))&&setTimeout(w)},_.onabort=function(){_&&(i(c("Request aborted",e,"ECONNABORTED",_)),_=null)},_.onerror=function(){i(c("Network Error",e,null,_)),_=null},_.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(c(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",_)),_=null},n.isStandardBrowserEnv()){var C=(e.withCredentials||u(b))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;C&&(f[e.xsrfHeaderName]=C)}"setRequestHeader"in &&n.forEach(f,(function(e,t){"undefined"===typeof g&&"content-type"===t.toLowerCase()?delete f[t]:.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(_.withCredentials=!!e.withCredentials),m&&"json"!==m&&(_.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&_.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&_.upload&&_.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){_&&(i(!e||e&&e.type?new h("canceled"):e),_.abort(),_=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),g||(g=null),_.send(g)}))}

timeout: 0

xsrfCookieName: "XSRF-TOKEN"

xsrfHeaderName: "X-XSRF-TOKEN"

maxContentLength: -1

maxBodyLength: -1

validateStatus: function(e){return e>=200&&e<300}

method: "get"

baseURL: "[deleted from the post]"

url: "/tribe_ranking"

data: "{}"

transitional

silentJSONParsing: true

forcedJSONParsing: true

clarifyTimeoutError: false

transformRequest

0: function(e,t){return r(t,"Accept"),r(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),c(e)):e}

transformResponse

0: function(e){var t=this.transitional||d.transitional,i=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!i&&"json"===this.responseType;if(o||r&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(a){if(o){if("SyntaxError"===a.name)throw s(a,this,"E_JSON_PARSE");throw a}}return e}

headers

Accept: "application/json, text/plain, /"

Authorization: "Bearer eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.0XGhyW-YNrMRXz20KxeqsgqHpeBCEnIhkvuvTQY8u4DM-cVVSbioq8fI4znSQkxLZP3LwuBudsaET-m2Wv81P_N9xVRSvGEw.LdbfStITK4HGFIDPhn7-kA.j2O_BquwK1f7cruu5cXcOjRYBefrDwaGSpWKjLiVuCmver_9OMQT0zajV_ZJgVgINfk65QSJtvKGYrhJbCBnIe539F0aGpDz3y6YhWvt6RFEHEkfEC38ahHxiHrggk7Sp9bjFWBpeQx2IUi7IxUPXg.Ezj9jZ6wROw9seTRcxCRPMpyMNpm9qcNMP8EetPoi6E"

Content-Type: "application/json"

params

request

onreadystatechange: null

readyState: 4

timeout: 0

withCredentials: false

responseURL: ""

status: 0

statusText: ""

responseType: ""

response: ""

responseText: ""

responseXML: null

UNSENT: 0

OPENED: 1

HEADERS_RECEIVED: 2

LOADING: 3

DONE: 4

abort: function abort() { [native code] }

getAllResponseHeaders: function getAllResponseHeaders() { [native code] }

getResponseHeader: function getResponseHeader() { [native code] }

open: function open() { [native code] }

overrideMimeType: function overrideMimeType() { [native code] }

send: function send() { [native code] }

setRequestHeader: function setRequestHeader() { [native code] }

setAttributionReporting: function setAttributionReporting() { [native code] }

setPrivateToken: function setPrivateToken() { [native code] }

onloadstart: null

onprogress: null

onabort: function(){_&&(i(c("Request aborted",e,"ECONNABORTED",_)),_=null)}

onerror: function(){i(c("Network Error",e,null,_)),_=null}

onload: null

ontimeout: function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(c(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",_)),_=null}

onloadend: function w(){if(_){var n="getAllResponseHeaders"in ?l(.getAllResponseHeaders()):null,s=m&&"text"!==m&&"json"!==m?_.response:_.responseText,o={data:s,status:_.status,statusText:_.statusText,headers:n,config:e,request:_};r((function(e){t(e),A()}),(function(e){i(e),A()}),o),_=null}}

addEventListener: function addEventListener() { [native code] }

dispatchEvent: function dispatchEvent() { [native code] }

removeEventListener: function removeEventListener() { [native code] }

upload

onloadstart: null

onprogress: null

onabort: null

onerror: null

onload: null

ontimeout: null

onloadend: null

addEventListener: function addEventListener() { [native code] }

dispatchEvent: function dispatchEvent() { [native code] }

removeEventListener: function removeEventListener() { [native code] }

Working with APIs
3 replies