-
Vimeo OAuth Redirect - Xano API "Unable to locate request." Error
I'm using the Vimeo API to get access to end-user's Vimeo accounts. Following their API docs they use OAuth2. After the end user accepts the access, they get sent to the redirect URI along with an auth code as a URL parameter. I have set the redirect URI as the end point URL of my API on Xano. However, it generates this…
-
JSON error, but it works internally.
"I built an API that consumes the following JSON: { "endereco_cliente_id": 21, "ofertas_quantidade": [ { "oferta_id": 1, "quantidade": 1 }, { "oferta_id": 5, "quantidade": 1 } ] } However, when I use it in Swagger, it returns a different result compared to Xano, and Postman is other result. With the same payload and…
-
Prevent multiple logins per user
Hi I would like a user to be able to login only once. If a user logs in again it should invalidate the previous session. Is this possible in Xano?
-
How to reuse a custom Object type?
I've created a custom object as type of clockInMetatada, is there a way to reuse the same object as clockOutMetadata? I feel like I need to redo the whole configuration again from scratch. I need custom reusable data types. I think this is similar to
-
ERROR?
Sou novo no xano, queria tirar duvidas… nao deveria só clicar no icone do cadiado para "bloquear" ou "desbloquear"? I'm new to xano, I wanted to ask questions... Shouldn't I just click on the lock icon to "lock" or "unblock"?
-
Question about encrypting data
Hello, I want to encrypt all data that users provide. I watched videos on encrypting on the Xano YouTube channel, but I still have questions about keys. I know there is a function to create secret keys, but should I create unique keys when encrypting and decrypting per user? Or should I have a universal key that encrypts…
-
Building a 'friend' list
Hello, I hope there's a kind soul out there who can help me with this on a Friday evening! I'm trying to build a kind of 'friend' list where a user presses a button and adds another user to their list. This means taking signup_ids from both users (the auth id from the user pressing the button) and adding both users to a…
-
Update field text within object using a request
Hello Xano community, I'm trying to update a property called "gallery_path" (text) within a object called "seo" (obj) using a request. In order to do so, I created a endpoint /villas/{villas_id}/gallery_path and turned to visible the seo field which contains other various field among "gallery_path". My goal is to update…
-
(Lost) How to add calculated field on Database > API response ?
Hi everyone ! I'm a new Xano user and i use an api to return a simple database request : In my table i have several entries named "Tasks", each task is linked to a "Person". The request i use in API call return all Tasks related to this person. I use the database function "Query all Records from" and return the result : […
-
Looping through an array and add to a record with an array field
I have a table called "Sales documents", which has an array of "Sales document lines" ids. On the frontend, I am able to get the sales line items and then create a variable called "list-ids-only", which returns the following ids (dynamic depending on what the user entered): I then run a for loop to loop through the sales…
-
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…
-
API Error while uploading image - FILENAME IS TOO LONG??
Hi! Im trying to upload a photo via API and this error appear while debugging: Whoops! An error occurred. Exception: Filename is too loongWhoops! An error occurred.Exception: Filename is too long. The maximum length is 200 characters. Name of image is "1" (I tried different versions) and weight is only 26kb (I also tried…
-
Only get projects belonging to user
Hi, new to this and I can't figure out how to do this: I have a table with "users" and a table with "projects". The projects has a reference field to the user, as each project belongs to a user. In my frontend I want to ONLY show the user the projects that belongs to the user. How would I go about setting that up in Xano?…
-
Not showing the right weekday after transformation.
After a request all i transformed a timestamp in 4 different parts (date,day,month,year) to show on frontend. No problems with date and year because i want to show it in german like DON 16 DEZ 2023. That works so far, but in english like THU, DEC. I tried to show it by the filter like "transform timestamp" (args: D,…
-
How to Record API Function Stack Errors for Later Analysis
HI, I am builing API function stacks, but want to log to the database a meaningful message if something on the function stack creates an error. Because under normal circumstances, if my front end sends data thats not quite right or I make a mistake in the function stack and it creates an error, how can the error be caught…
-
Can i connect these comma separated values?
Ich have a text-field (single) with maximum of 8 kommaseparated values like 11,32,35 and so on. These numbers (ids) are coming from a csv-import from wordpress. These numbers are ids of a categories-table. Is it possible to connect these two tables in any way? Needs to be done just one time.
-
Webflow Twitter/X Login Functionality with XANO Twitter Oauth services
Hello developers, I wondered if there is a way to enable (Twitter login) functionality in Webflow using XANO OAuth services. Can you please provide me with the appropriate (JavaScript code) that interacts with XANO's Twitter-provided endpoints? like you've given for Google services within Webflow(ref: YT Video), This will…
-
My api works on Postman but won't in Xano
Hi, I have an API working in postman however it wont in xano, I tried to figure out if I missed something out but I could not find the answer. I generated sha256 and MD5 with variables; Anyone could help ?
-
Ably realtime chat question
Hi all, I'm working through the video on the Ably template and have a question about how it works with my Xano backend. In the video, Ably is set up in its own workspace with 3 tables: user, chat, and chatroom. If I am setting this up within my app, should I set it up in my app's workspace? (i.e. the user table that…
-
Help to fix "Unable to locate var" response error
I created a function that hits an external API (Strava for a specific activity) and posts a few results from the response to a table. That's working but I want to automatically trigger that action when I receive a Strava Webhook event (which I'm receiving successfully in another table I created to receive the webhooks). So…
-
Does it make sense to set up a satellite table for all non-frequently queried fields?
Hi, Coming from the Bubble world, where it is strongly recommended that one sets up a satellite data type to store all the fields of data that are not commonly queries. This is because in Bubble, you cannot choose the fields to return in a database search query — Bubble returns ALL fields during a database search. So to…
-
First not empty filter with Push Filter for Array
Hello, How can I push to an array (when editing a record) ONLY if the input is not null? This is what I have but its not working. I'm really hoping I can use a filter for this instead of having to use if statement Any help is greatly appreciated!
-
"Serialnumber" or "sequential" number in Xano!
Hi there! Does anyone know a good way to add a sequential number to each row in xano? Query the ,mates number always gets me duplicates :P
-
How to create a function that validates an email input
HI, I am trying to create a global function that validates an email address input when called. I cant seem to find a simple function/way to check if an email address is valid. I am working with a conditional IF statement but hoping for some guidance on where to look? Thanking you
-
Getting an error when trying to add a very long array.
Hi there. Getting this error: Trying to add this like array more than 3000 items: It works when I try to add an array when 2731 items are inside, but 2732 items retruns the error above. Im trying to add a geo_linestrings object. Did i reach xano limits? More photos for context:
-
Update variable past midnight daily
Hi all - I'm hoping to update a variable right past midnight to a default value daily. I looked into timestamp data manipulation but wasn't able to find a solution. Appreciate any pointers! Cheers.
-
Performance: Lambda vs Function Stack?
Is there any performance difference between a lamdba and the function stack? All things being equal is there any difference between the two?
-
How to automatically retrieve Firebase User_ID in xano?
I use Firebase for user authentication. How do I then connect xano to firebase to get the Firebase user_ID into xano?
-
Noob: How to add a date modified field to a table?
Total noob here. I added a field to a table called "modified_at" and created it as a timestamp. How do I specify that the timestamp should reflect the last time this record was modified? Can't see anyplace in the field settings where I can specify that…
-
Hi there, can i convert/connect these fields?
I have a text-field in a posts table with data like 11, 32, 44, 54. These numbers are ids of another table. Is it possible to connect these 2 tables in any way?