GET request creating problems on Xano

I’m posting this here in case someone had similar issue dealing with Weweb-Xano

My frontend on weweb is sending a GET request that takes 5 arrays of integers and a string.

Endpoint

If I send this from Weweb, on Xano I’ll get this error: “Value “3,4,5,6” is not a valid integer” (that are the values of the first input array, that is actually containing integers)

While by doing the same request from Xano itself, it will work with the same inputs given.

Here there is a screen recording

https://watch.screencastify.com/v/rAHnm9QCwz2SmGG7S5fF

The snippet:

Site faviconVillas Filter - Xano | No Code Development Platform

1 Like

Hi @FREDRIKK,

Thanks so much for taking the time to record a video, it really helps a lot!

From what I’m seeing in your video, WeWeb is sending the data in the correct format (i.e. an array of integers):

But Xano seems to read the content of the array as a string "1,4,2,1"

CleanShot 2023-03-30 at 10.45.30@2x

It looks like in WeWeb, the format is indeed an array of integers (integer values are purple whereas text values are orange) so it’s not a type issue:

Based on all of the above, I think it’s probably a bug on the Xano side.

1 Like

I’m running in to this exact issue myself. We’ll see what I can find out from Xano.

@matt-thrive did you find anything out from xano?

Solution: change input type on Xano to be integer with data structure = list. xano will handle properly as integers.