-
Google auth issue
Hi there! My users registered with Gmail email. The user.google_oauth.id value is empty, but the email was used for registration. I want to allow those users who used gmail mail without google auth to login with it. When I tested Xano Google auth APIs I got error "Duplicate record detected. Please check your input and try…
-
Using External API as a webhook
Hi, I am trying to use this endpoint as a trigger point for a webhook. When the endpoint is hit with the input, we get a record from Xano DB that hits the match and use that record's callback URL field to send the external API request that acts like a webhook. When we send the external API to the URL, the other party…
-
what is the database and API arg type to use to pass a url
I am trying to pass url to an image or a public resource.
-
How do I set this up correctly?
I am trying to do an edit POST request where a user clicks join and they will be added to a listing as a "cardmate". The listing creator has chosen the number of people that can join (up to 4 total). So I am not even sure if this is the correct way to do it but I am using if conditionals. cardmate1 2 and 3 are reference…
-
can create_auth_token two different auth tables different tokens
if i need to have a login token as well as a resource access token e.g. for a 3rd party resource, then can the use of create_auth_token be used in each of these situation on respective authenticated tables to create diff tokens. What will the Auth.id field refer to in either case? thx
-
how do I get google auth code parameter
the generate endpoints, in particular the init take a url and generates a uri and continue endpoint take a code and a url. What is the code, where is it generated. I know the xano google auth demo works but I am trying to integrate with draftbit front-end and I am trying to figure out what I should pass for code. As for…
-
How to add functions to meet the below SQL Script?
select count(customer) count, name, lastname, country from customers group by (country) I spent much time to figure out, but I couldn't have succeeded :( I suppose that I should use for each loop and create some variable, then bind the field that I need ( name, lastname, country) to these variables as an object, then bind…
-
Getting username from AuthID before POST
I'm almost done with app but I'm having trouble getting and storing the username into a form. I don't want the user to input their name but have it done automatically through the authtoken (see images). I know it's possible but can't figure it out. Please let me know how to troubleshoot this.…
-
Hey guys, I am creating a social media app which I would like to be free to public. I would like to
-
Digest Auth
Hello I would like to use Xano with IMOU cameras, but the API call requires a Digest Authentication. In postman I have to just select the digest authentication type and provide username and password. There is a way to make this kind of call in Xano? Thank you
-
Passing in null query parameter as 'param=null' results in Bad Request error
I am using FlutterFlow for my front end. I have a boolean input field in my Xano endpoint where the field is not required so it should take a null value. In FlutterFlow, when I don't include that boolean field in the query parameters, it sends the query string like "?param=null" which results in a Bad Request error from…
-
Issue With External API Integration
Hi, I am having issues with this particular API. I have verified its working inside of Postman, a Python test program and other online test environment but when the same call is ran in Xano it fails to correctly pull data. The call in this example is a search for customers in an alternative datasource. There is a customer…
-
How to prepare for bursty traffic
Hello all, I have a few presentations coming up where we expect to get bursts of traffic. Is there anything that I can do to prepare my API for heavier loads that last for a short period (maybe just 30 minutes)? Maybe some form of warm up? Best, Kris
-
Getting a XML response instead of JSON from API call
Hi all, would it be possible to setup the response from a Xano API call to be delivered in XML instead of JSON?
-
invalid_request_error working with OpenAI API
I have been experimenting with Build a Backend using the OpenAI (GPT-3) API as outlined in this YouTube video: https://www.youtube.com/watch?v=ehSnwEFh5Dc I am running into a problem - when I use any of the OpenAI models in the playground and import those via curl into Xano, they run successfully. But when I use one of my…
-
Notifications on onesignal?
Hi, I'm integrating notifications for my native apps made with Bravo. I looked for some video tutorials on the topic, and I want to be sure that I'm able to implement this without the need of writing some scripts with real code. The notifications will need to fire only when called by some Xano endpoints, so it's not…
-
Weird issue with Adalo string not saving to Xano
Hi, I have data sent from an Adalo custom action, via Integromat in this case (although I don't think Integromat is relevant to it) All fields populate correctly, however, the image_url does not. This image URL is the URL of what is saved on Adalo database, in this case…
-
Best way to design busy endpoints?
Hey guys, I have the following workflow for my app: 1. Customers fill up a Tally form 2. Tally form send webhook to Xano endpoint which triggers pdf generation using PDFMonkey 3. PDFMonkey sends webhook to Xano once pdf generation is complete 4. Xano retrieves file resource using download url from step 3 and the uploads to…
-
Make text stay in textbox when submitting
Is there any way to make the text stay in the textbox after you submit it? [Image]
-
(Solved) Postman request not working on Xano to generate JWT token
I am using import cURL from Postman. Now after importing successfully, the same request that worked on Postman doesn't work on Xano. Been working on this for a long time and really scratching my head trying to work out what to do. Any help would be appreciated. (update) OK Solved it was really simple. Similar to my last…
-
[Resolved] GET Requests, inputs and URLs
Hi all, I'm trying to call my GET endpoint /user/{user_id} using the Fetch API. If I include a body with the request in order to pass the user_id to use as an input in Xano, I get an error saying GET requests can't include a body:[image.png]So I've removed the body from my request, but now I'm not sure how to capture…
-
Error resume next - How to use with a LOOP?
Hi all, I am using a For Loop with the GET Image to download images for example from Unsplash. What happens sometimes is that the link is not well formed and this creates a 400 status. I am trying to find a way to apply an "Error Resume next", I was thinking of using a "WHILE", but the while will stop when it finds the 400…
-
Xano as API Proxy/Gateway?
I’m looking at security tools to sit in front of Xano as a proxy or gateway. I’m wondering why I wouldn’t use Xano in front of Xano? Anyone gone down this road, currently using an API gateway/proxy/WAF, or otherwise? Security experts are loudly proclaiming “don’t DIY your app/api security…!” Some of the vendors I spoke…
-
Working with external api
I have an external api we use to upload csv file via xano How will send csv file to external api
-
Checksum generation
Is it possible to generate a checksum signature using the Xano backend? Details: https://business.paytm.com/docs/checksum/
-
How do you pass array in QueryString?
I have the following endpoint /user/bySecurityGroup/{stringArray}. In creating the endpoint {stringArray} is an array of strings. This works fine when I'm using the XANO tools, but how do I pass an array to the QueryString when the request is coming from outside of XANO e.g. from the Swagger Docs? I've tried a number of…
-
External API request with Buffer and Batch
Hi, I am using External API requests to post data in a website and now need to create a loop that will create hundreds of POST requests to update a websites data. This website has a rate limit for requests in their endpoints. How can I apply a waiting buffer per request and Batch size in the External Requests? Thank you…
-
Error parsing JSON: Syntax error
Hi, I'm working with Xano and Bubble. There's a table for products in Xano and I want to create new products in this table through an API. I checked the Documentation (Swagger) and copied the JSON to add a new product. [JSON Structure.png] Then, I created the API in Bubble this way: [API Configuration.png][API Dynamic…
-
Noob Question
Is there such thing as too many API calls? Some of the calls I'm making request arrays with lots of data. i am trying to minimize the number of items being pulled via the front end but just curious if there is such a thing as "too many calls". Obviously i would like my users to have the best experience which to me means…
-
Returning forcefully 401 or 403 http status code
I am executing an external API (from xano endpoint) and based on the result (of the external API), I want to forcefully send the http response code of my (xano) API as 200 or 401 or 403. The external API will always return http response code 200 (both in case of error or success). I came across this post:…