I’m getting this error when trying to set up collection from Xano plugin. I can’t get my API or fetch any data. Please help! Just followed the WeWeb tutorial on how to connect Xano. I’m a complete newbie!
stack: "AxiosError: Network Error at c.onerror (https://editor-cdn.weweb.io/public/js/chunk-vendors.c8e8a31e.js:499:161324) at ni.request (http. BTW not full error, (newbies can only post 2 links)
Have you seen this issue? Axios error while sending data from WeWeb to Xano
It’s probably because you haven’t set proper authentications settings in Xano.
Yes, I saw this issue. I did authenticate the swagger API and it still does not work. I followed the WeWeb tutorial exactly to configure the collections and plugins from Xano.
Using XANO also, and there can be some issues:
Are you setting a collection or the Metadata API? If the first one, then:
- You are pushing the collection without having an authToken created if user authentication is enabled. I suggest you create a login page and login the user, then push the collection again.
- You are using a collection with filters where the filter is mandatory in the input and the value you are sending is zero. Just create a input field or variable in weweb and add the value there.
- You are using a collection that it is trying to query something that the response is empty. In that case go to the conditional query in XANO and enable “Ignore empty values” for the filter.
Check also the “Request History” in XANO, usually it will tell you the error itself.
Hello, I followed this exactly:Xano data source | WeWeb Documentation(did not follow optional instructions) . I double checked the YT video WeWeb made for connecting the data.
I tried doing the login page and I got an API hit from Xano request history:
Xano has no request history or API hits for the fetching data with I am trying to set the collection in WeWeb.
However, WeWeb got the another error: Sign up
Workflow triggered an error
name: “AxiosError”
stack: "AxiosError: Request failed with status code 500 at ht (https://editor-cdn.weweb.io/public/js/chunk-vendors.c8e8a31e.js:499:156118) at XMLHttpRequest.u (https://editor-
You mean the API endpoint had no “Request history”? Did you try going to “Run & Debug” and then checking the timing details? The output section should show you the error itself.
When you cascade this section you should see an output
I’m getting the same error when using the Xano plugin. No input or authentication required on this endpoint. Database is not empty.
However, when sending the GET request via WeWeb Rest API Plugin, it works. Same via postman. So I assume there is something about the plugin itself.
Same problem
Hey @CedricFR73 , @chaefner , @Byted
How is your Xano Plugin configured?
Can you make sure that Include credentials is disabled? As this option requires more setup and is not needed for most use-case
@jptrinh I can’t disable this option:
Look into the Xano plugin settings in the Plugin panel (instead of the collection settings)
This means that you have defined it globally at plugin level
That worked! Thanks @jptrinh I’ve disabled this setting in the plugin settings and could load the collection with Xano integration. Hope that also solves the issue for the others.
Question: Are there any advantages/disadvantages between the Xano integration and the Rest API plugin? Or are they doing just the same thing?
For me the option was disabled
Hey @CedricFR73
Can you provide more context on your plugin/collection configurations?