-
Empty object in API response
My data here is pretty straight forward at the moment. For some reason the phone_number object returns null despite both records having data in the object fields (formatted and unformatted). See below where the second row has the phone_number object data. Response is empty. What could possibly be causing this to occur?
-
How to implement the PATCH Method the right way?
In Xano, the PATCH method overwrites the entire object by default. This is not how I imagine it. Normally PATCH should be used for partial changes and PUT should overwrite the object. So now I am looking for a filter for my fields to overwrite the values only if the keys occur in the request. I have to say that I imagined…
-
Getting only the INTof a record id from a get all records query
I am unable to get a only the INT from a simple get all records query. I am getting the company id from the logged in user and store it in buyer_id. Using the buyer_id, I filter my second query certificates using only the company_id INT. How can I get only the number the INT and not the object with the number? The closest…
-
How to filter 39,000 records in a searchbox
Hi team, I am a beginner on Xano and Weweb and I would like to filter a table with more than 39 000 records in order to display cities in a searchbox on Weweb. Could you show me how to filter from Xano so that the Weweb editor doesn't crash by creating a Get API collection? Thanks in advance
-
API Input mapping
Im throwing query params on an api call (get request) to xano, for pagination. I have 'page' as a query param, ive tried to get it to populate in xano as a string, integer, and even json, i can never get it to populate..
-
Is it important to add a version number to the API endpoint name?
Hi all, I am looking at best practices for API naming and many forums indicate to place a version number with the name. eg: /v1/subscribers/details Is this important / worthy to implement as it adds more characters to each API name? Or OK to leave out for most applications?
-
Could I build a Redfin-like clone with no-code?
Hello, I'm a real estate agent who is gearing up to start their own brokerage and I was going to build a Redfin-like clone website and mobile app. To keep this message short, is it possible to build a Redfin-like clone using Draftbit (for the mobile app), Webflow (front-end), and Xano (backend and API) while keeping the…
-
Sending log events to a remote Syslog server
Hi, I am looking at a syslog remote server to receive any specific log files I wish to send. I have already viewed NcScale but didn't have a good experience. I have found a another syslog server and asking if there a method to send syslog files to a remote server? I was trying to use the API request element but it seems…
-
Build a custom sitemap with Xano?
My Bubble website uses Xano to populate all of it's product pages. So for example the URLs look like the following: domain.com/product/565 domain.com/product/985 domain.com/product/1183 domain.com/product/89 When the page is loaded on Bubble, it knows to make an API call to Xano looking for the ID in the URL (So…
-
Handling test and live environments
We are working on a Software as a service platform in which we would want to create apis for other businesses to consume in the banking domain. Now for them to integrate these apis in their applications we want to give them two different environments, test and live. The users can generate their client_key and client_secret…
-
If API response is an ERROR, how can I save that error to my database
Hi, I am looking to capture any ERROR responses from my API points, but find the function stack abruply stops when the ERROR occurs and responds to the front end. I expect my front end to also deal with the error in some way but I am looking for ways my Xano backend can also save this ERROR to my error log table. I tried…
-
Handling test vs live in APIs
Hi, I'm currently building up numerous APIs for a semi-live app, but having a few challenges in trying to determine if I'm working with a test or live source environment (in my case, bubble). I already pass the X-Data-Source header from my bubble test instance, but my APIs also leverage external services for things like…
-
Why can't I see the new table reference when doing an addon
I have a problem. I have a user table that references a clients table using the clients_id. I have an auth/me endpoint that calls the user details and an addon of the client. Now I have a new countries table and I created a new field, countries_id, on the clients table that references the countries table. On the auth/me…
-
Upload to Nextcloud via Webdav OCS API - MKCOL ist not allowed
I want to upload files to a Nextcloud Instance. Before I can Upload I need to create the folders if they dont exist. Typically on a WebDAV u use MKCOL but using this method I get this error: code: ERROR_CODE_INPUT_ERROR,message: Input "MKCOL" is not one of the allowable values.,param: method So looks like the method is not…
-
How do I send a list of booleans using the API
Hey everyone, I'm using the API to post to a table (currently using postman). This table has a field that is a list of booleans. It works if I just send "true" or "false", but when I try to send an array of them, I get the following error. Here's the table schema incase I have something setup incorrectly there: I'm new to…
-
Get the first duplicate item from array and delete it
Hi, I am struggling with the following request - I have an array of users which contains duplicates (which is desirable). When I call a specific API endpoint, I need to remove one of the duplicates (if duplicates exist, if not then delete the unique record) but keep the others. Example: - Existing array [1, 2, 2, 3, 2, 3]…
-
I need help with making an API request in Xano
I'm trying to get the data from a file that is currently saved in my Xano database by making an API request. First, I make a query of the database with the files, next I get the file's url. I use the file's url in the API request using the GET method and settings the content-type's charset as "windows-1252" since the file…
-
API call failing due to missing variables
Hello, I have a function that does the following actions from a high level: Queries records from two tables drills down into a specific field that links both tables [Table 1 ID (not xano) is primary and Table 2 has table 1's id (as secondary releationship) Where the value in that field appears in both tables, add the xano…
-
Api para exclusão em lote
boa noite alguém sabe ou tem uma api que exclua em lote? Tipo clicou no botão excluiu tudo de uma vez só Obrigado
-
User Signup Additional Fields
Hey everyone, I'm trying to add additional fields to my registration form during sign up and it's unclear as to how I should go about it. I'm using WeWeb as a front-end and looking for guidance for the proper workflow. Thank you in advance for any help provided!
-
Many to many relations
Greetings to all. My objective is to obtain an ultimate outcome similar to that. I have created these tables with this relations 1- student: class_id 2- class: [teacher], [subject] 3- exam: class_id 4- subject. From student API/ Get I gather information about students, teachers, exams, and subjects. I have two issues: 1- I…
-
When a record is updated in a table, what would be a way to add that record to another table?
Hello! A have a "requests" table. In that table X user can add another Z user to access records X user manages. This is as simple as X user entering an email address and 'type of access' (selecting from 2 options) and the record ID # passing dynamically. The table then stores who added X user, the email address of the new…
-
API Run/Debug Works, Data from Wized Doesn't Reveal The Same Output
Hey- running into a peculiar issue. When I Run/Debug my API, it works as expected. When I send data from the frontend via Wized it does not produce the same result. Any ideas on what I can change? Here are the values provided in Run/Debug: Here is the expected output of "ShowsHosting" Array having 1 Show Here are the…
-
404 Error when calling API from Bubble
Not sure whether to ask this here or the Bubble forums, so I'm just going to ask on both. When I call my API from a workflow in Bubble, I get a 404 error {"code":"ERROR_CODE_NOT_FOUND","message":""} A quick google says that's probably because I typed the URL wrong, but I can initialize the API and get a success response…
-
Provide a meaningful key name when adding to the end of an existing array
Hi Xano community! I have hopefully a simple question. See below image. Currently, I add a variable to the end of an existing array but when it's added the key name is 0. Is there a way to give the key name a proper name so that I can easily reference it on my front end application? Thank you, Tim
-
Simultaneous multiple authentication sources for API
When requiring authentication for API endpoints, I saw you could set up and select any table, however, you can only choose one option. I have both a User and a Employee table. Some of my endpoints will be used for both my user and enterprise websites, so I want a way to have multiple simultaneous authentication sources.…
-
How to convert this into a file
Hello I’m using the clip drop api from stable diffusion and I’m getting an image returned in this format. I’ve been told this is Jfif format but any idea on how to convert this into a file resource and ultimately an image url.
-
Add filters on Xano snippets page
I think I'm not the only one, but I think it would be more practical to add the filters of search, date selection, category, ... etc. On the snippets page to facilitate its use by the community because it's impossible to find a feature 😡 Also try to clean up so as not to limit the appearance of test snippets. Which…
-
How to make api calls with .p12 certificate?
I need to access a payments api that provides a .p12 certificate and requires it to be sent in calls.
-
Is there a way to use test data in API calls?
Currently, the Xano instance has 2 branches, one live and one inactive. I've been building and debugging a series of API endpoints in the inactive branch using test data. The next step would be to start initializing API calls from the front end of the app to make sure that data is being retrieved and displayed correctly.…