-
Help with configuring my xano endpoint u00220
Hello. I've been working with bubble and would like to shift some of my work over to Xano. I'm testing a use case that needs a very specific payload returned from an endpoint as below. {"0":{"type":0,"content":"0","bold":1,"align":1,"format":1}} I've used a variable to create this and the response from within xano is…
-
Help with API integration
Hi all, I am used to API but this one is being tough on us. We believe it won't work in Xano because content-lengh won't be same as in Postman event if we use the exact same parameters. If anyone already experienced that, we would appreciate the help ! Thank y'all
-
Help with 'Date Input' field
Hello, I have a question regarding date input fields. I have a database that will store transactions. I need the date_input field because the admin of my app needs to be able to input specific dates. In my api function stack, I need to be able to pull in all transactions for "next month" My client wants to be able to…
-
How to set dynamic path parameters on an external API?
Hi, I have this path url https://eclipse-java-sandbox.ukheshe.rocks/eclipse-conductor/rest/v1/tenants/tenantId/wallets/walletId \ I need to set this path /walletId \ to be a dynamic input from my user database. I have tried everything from using sprintf filters to replace, but I am unable to replace the walletId with the…
-
Query filter - how to use regex
Table = places Column = placename I want to find all records where placename begins with the content of variable placeNameStr. The 'regex matches' operator seems a good fit for this. However, the example below does not work. I also tried /^placeNameStr/ The example in the screenshot generates this error:…
-
Can Xano handle the backend tasks for Stripe Elements?
I have looked at the Stripe documentation -> https://stripe.com/docs/payments/quickstart?lang=python. And I wonder if anyone managed to build a custom Stripe Elements checkout in say a front-end platform like Webflow using Xano as their back-end.
-
Error with authentication
Hello everyone, I started working with Xano some days ago. I watched the tutorial how to set up the Authentication in Xano, but it didn´t work for me. When I try to Run and Debug the auth/login to get the authToken like the video, it returns this error: Whoops! An error occurred. Exception: Invalid name: mvpw2605:13134 On…
-
How to remove objects from list of entries that match another list of entry values?
I have two database. One that contains a list of companies and their associated emails and other information. In the other I have a list of user_id with company_ids that correspond with companies in the first database. I need a way to remove any companies (via Query All Record variable) in the first database of companies…
-
How do I create a program that can schedule recurring dates
Hi all, I'm trying to build an application where the admin is able to schedule a program to recur based on the days of the week and the time. For instance, every Monday, Tuesday, and Thursday at 7 am, there is a breakfast offer. Could I get some help in building this? Such as how the database and API should be designed?…
-
When/how should we use "API Access on field types"? (public/private/internal)
I'm struggling a bit with this "API Access on field types" option. The doc explains what it does but not how to use it. The behavior of those 3 choices is counterintuitive. I'd have expected the "private" to allow the field as an input but not sending back the field value as output. Instead, it blocks it from input and…
-
Swagger Do's and don'ts
Hey, quick question about Swagger. I have all of my endpoints in my 'public' xano APi group, so all of my endpoints are in the public Swagger. It seems I wouldn't want some endpoints available to the public. Like Stripe and other endpoints that can do some damage in the wrong hands. Is that correct? Is it best practice to…
-
Help with reverse addon in many-to-many relationship
Hello, I have two tables, Users and Groups, and Users has a table ref to Groups (Groups is not ref'd back to Users). This is a many to many relationship. When running the Query All /Groups endpoint, I'm hoping to only returns groups in which the authenticated user is a member. Based on the Database - Part 3 video, it seems…
-
Unable to run OpenAPI generate command
This was working for us, and all of a sudden it is now giving us this response, but I cannot work out why this might suddenly happen. Any ideas?
-
Get data from response headers
Hi all! I try to upload video on youtube and use youtube data API I send POST request to API and receive the response, but the data which i need is in response headers How i can get access to response headers? Try $http_headers, but it isn't return the right data
-
Performance issue between debug and real mode
Hello, I need some help on a subject that I can't understand with Xano. I have created a POST endpoint, which I want to use many times via my Bubble application. During my tests (in debug mode) I usually reach a loading time of 2/3 seconds. My action via bubble is to make a POST request from this endpoint ten or twenty…
-
How to group Extrenal Functions for 3rd Party API calls?
How can I organize my function area into folders or groups where each folder contains all the various API calls for a given 3rd party API. For example a folder for Goggle Maps APIs and another for Twillio? i think this can be done with the API group on the internal APIs to my database but not sure how to do it on external…
-
Import large csv file into XANO with the help of the api
Hello all, what is the best way to upload a big csv file from the client side through XANO api? I have no issue with 5MB files but once I try to upload a 50MB file it gives me the following error: An unknown error has occurred. This may be a random occurrence or a memory issues. Is there some kind of similar solution to…
-
What's wrong here?
As you can see, the precondition asks if the new password is similar to the old password. In the run and debug it's different but, it's still being found as the same thing. There are no other preconditions that relate to both the new password and the old password. I'm not sure what's wrong.
-
set_ifnotnull not letting us set empty value
We understand that set_ifnotempty skips all values empty/null. What about we want to reset a value for a record e.g PATCH /users/:id { name: "", } Should let us set name to "" but it is not (set_ifnotnull skips it)
-
How do I use swagger-typescript-api with Xano?
I am trying to use swagger-typescript-api with Xano My Swagger is here: https://x8ki-letl-twmt.n7.xano.io/api:oyatO036?type=json I use this command line: npx swagger-typescript-api -p https://x8ki-letl-twmt.n7.xano.io/api:oyatO036?type=json -o ./src -n nickBlog.ts --axios And I get a big, ugly error, the heart of which is:…
-
is it possible to dynamically get an API description ?
Hi, i'd like to know if it's possible to get all the details of an API endpoints dynamically ? ie : passing a specific parameter to the end point to get it's description ? As a swagger doc but from a specific API endpoint call. Thanks for your answer ! Best regards, Guillaume
-
Returning a response code
When we update data in a form, we would like to display a message indicating whether the update was successful or not. So, we need to return an http status code as well as the data of the record we updated. How would I do that? I searched in the documentation. There was a screen shot with the message "The response for any…
-
How do I add a record and then edit in the same function stack?
Hi all! I'm trying to: 1. Add a new record (based on a user's input) 2. Send a request to the ChatGPT API 3. Save the return value to the record that was saved in step #1 Is this the right way to go about it? If so, how do I do it?
-
Between filter missing?
I'm trying to use a between filter to check wether a date is in a certain range but, between filter doesn't appear at all! Was it removed from Xano?
-
Is there a way to get the 10kb API response limit lifted?
Hi Team, I'm trying to decide on a backend for an OpenAI API run app however, now they've lifted the token limit, the expectation is to see 5000 words (and potentially even more when they bring in the 32k token limit instead of the 8k that is available in GPT4 currently) results sent to and from the API. This will be more…
-
JSON Limitations
I have an external API that returns a JSON ~6000 lines of data (approx 1MB), that nests objects about ~10 levels deep at points. I'm finding that when the result is displayed in the debugger, some of the arrays are displaying as empty. To give you an idea of specifics, for the key-value pair headings is found at…
-
Set Enum Value by POST API
Hi I have a Hotel Data Table, in the same table I have Enum called Quality: High Medium Low How can I send correct parameters from Bubble.io to XANO so it sets the Enum correctly
-
Fuzzy Search Capabilities
I just implemented Fuzzy Search on a few tables, but I'm seeing behavior I wouldn't necessarily expect. For example, I have users in my database named "Benjamin", when I input the entire name "Benjamin" I get the records returned. When I input the name "Ben" I don't get anything returned. I've tried adding wildcards after,…
-
Create a live chat with Ably using draftbit as a front
Hi, I was wondering if anybody has already built a chat in draftbit or any front, I am getting stuck and don't know where to start. I am trying to setup a chat like Tinder style, you match with someone and then can chat with this person. Thank you so much.
-
Having difficulty saving array of integers as table reference list
Hey folks! Thanks in advance for reading. I'm sending an array of integers from custom frontend (React Native) to Xano backend, and saving as a table reference list. One POST has many TECHNOLOGIES. It all works correctly in debugger: But it does not work correctly in practice: Xano appears to be expecting a single integer.…