@Soenke can you provide some more information on how the error is being produced? What’s the code/action/setup of your Xano request. That error is not very helpful to diagnose where the issue is. Screenshots are very helpful also.
@kevinwasie I attach some scrrenshots of the workflow which is leading into the fetch error (also attached).
Nothing special in there, just fetching the collection and then updating the selectedItem variable.
The error occurs from time to time with no reason, also when I am testing the workflow in the editor, and run the workflow via “Test workflow” 10 times, the error occurs sometimes, but sometimes not.
HI @Soenke,
we take a look at your project, and apparently you had a infinite loop of redirection to the login page. So you overflood Xano with requests, which was causing the issue.
We fixed your checkUser workflow with a filter, so that you do not loop on the login page.
We take note on this problem (you are not the only one) and we will probably add a security so this can’t happen.
Regarding the periodic 502 error I discovered that some of the Xano API calls response headers do not comply with CORS. In detail the “Access-Control-Allow-Origin: *” parameter is missing in the response header. Strange thing is that the response is sometimes CORS compliant and sometimes not
Thats indeed strange. Can you check on Xano side why this behavior is happening? You will probably not being able to fix it by yourself as it is on Xano/server hands.
If you manage to find why can you get back to us ? If there is something on our side, i will be happy to help, but here it seems to be a server issue.
Hi @codage to be honest I cannot really tell you how the issue was solved in my case. I exchanged a couple of emails with the Xano team and Michael and his team investigated. Was tricky. Then suddenly the error did no longer appear A bit strange but until now everything runs smoothly
I suggest that you contact the Xano support. They were really supportive. I recorded a loom video showing the error which helped them to understand the problem.
Hi,
I have the same issue while fetching the collection. It happens for different endpoints, not some particular one.
I contacted Xano support, but the problem is not on their side. I tested their APIs in Postman, and there is no error, everything works fine. But in WeWeb I keep getting “Network Error”. Before it happened once in a while, and I thought it was related to Xano API rate limits, since this workspace is on a free plan. But now those errors are too frequent and very annoying. And I’m 100% confident that it’s not related to rate limits. Can anyone help, please? I can’t imagine going live with such a user experience
It’s better if you create a separate support ticket with credentials to your own app so we can test different solutions and you can follow the progress of the bug ticket.