-
Direct Database Query - tableName as variable
Hi, new to Xano but not to building apps. We're porting an existing app to xano so i started with datamigration. Every table (about 70 of them) has a updatedAt field. We use this field to determine what the last point was that the table content was synchronised. Initially i've build a function that has an enum named table…
-
How can I resolve this error?
When calling the ChatGPT api endpoint using the External API Request, no matter how I enter the parameters/set up my function, I keep getting this error: Exception: xano\extension\xs\Strings::xano\extension\xs\{closure}(): Return value must be of type string, array returned I import this curl as the template: curl…
-
Exception: Param: transactionAmount - Text filter requires a scalar
Hello! I am trying to run a loop to save multiple records from an external API to my DB. When doing an API call (without loop) it is workign fine and returning all data. (screen 1) Once I add the loop it runs into an "Exception: Param transactionAmount - Text filter requires a scalar." The custom function is the working…
-
Is it possible to monitor errors?
Hi everyone, I'm wondering if it is possible to monitor errors of the endpoints like Make (ex Integromat) or how you guys are doing it? That way if there are errors they are not overlooked silently. P.S. : Make allow to retry failed endpoint by storing in queue the inputs, is it possible in an easy way with Xano? Have a…
-
Bug Database Cannot Find Workspace
Hi, I have been trying to work all day, but keep getting errors that one of my workspace is not found, I have filed a support ticket
-
Cutom error messages in xano
Hello there, I am new to using Xano and have just created my first Webflow-Wized-Xano-GPT3 application. I am curious if it is possible to personalize the error messages generated by Xano, specifically for user authentication? Thank you, Andre
-
How do I apply lambda to each item in a loop?
I have this snippet saved as a lambda function: const accentedCharacters = 'áàãâäéèêëíìîïóòõôöúùûüñçÁÀÃÂÄÉÈÊËÍÌÎÏÓÒÕÔÖÚÙÛÜÑÇ' const normalCharacters = 'aaaaaeeeeiiiiooooouuuuncAAAAAEEEEIIIIOOOOOUUUUNC' let text = $var.sample.replace(/[áàãâäéèêëíìîïóòõôöúùûüñçÁÀÃÂÄÉÈÊËÍÌÎÏÓÒÕÔÖÚÙÛÜÑÇ]/g, match =>…
-
Error handling
Hi there, I'm having trouble wrapping my head around error handling. I'm calling an external API and sometimes it might through some error. I want to be notified about it immediatle via email. I made the following logic: The problem is, the If/else conditional won't execute since the function stack stops after the API…
-
500 Internal Server Error: Cannot extract elements from a scalar
I am getting a 500 Error, with the below message (screenshot) in the request history output. The context is that this is part of a ~20 filter + fuzzy search and sort page on a Bubble front end, sorting across a database of recipes in a Xano back end. The API connection in Bubble is a 'POST' and a 'Data' type. The fuzzy…
-
'Get All Input' function causes 'Unable to decode input error'
Hi all, I'm having trouble getting the “Get All Input” function to work properly. My setup is as follows: I have a submission form on a Webflow page with POST action set to endpoint in Xano. The first function in this endoint's funtion Stack is “Get All Input” with json encoding. When I send some test data from the form in…
-
Confused with post error - Missing param: name, param: industry.methods.0.name
I have a post endpoint with authentication being sent from Weweb. I keep getting the following 400 error: code: ERROR_CODE_INPUT_ERROR, message: Missing param: name, payload: {param: industry.methods.0.name } What I cannot figure out, apart from generally making it work lol, is where the param name is coming from. My…
-
Xano has changed(?) and documentation has not?
I have an API and I want to iterate over an array of objects. Seems easy but my brain... My brain... I looked at this Xano resource: "For Each Loop" and there is a discrepancy in Michael's instructions (I think) and what I'm seeing on my screen. I want to access "Mission" with dot notation to manipulate the data and create…
-
ERROR on XANO's side when creating a Stripe Session: "Please use a numerically indexed array"
I'm building an ecommerce platform for a client using Xano (for the very first time) and Stripe. I'm using the Stripe's official plugin available in the Xano's marketplace. I'm setting up the checkout request at this moment and I'm so close to a working solution. But I'm running in a wall here: when running the create…
-
Keep getting a 'Please use a numerically indexed array' message in debugger
Hi @Michael Udinski, I am adding data from an external API and have run into the 'Please use a numerically indexed array' issue in the debugger. I have reviewed the 4 threads on this topic here but still am not able to chase down where the issue is as the debugger does not actually reveal the exact location. I've also…
-
Text break variable
Hi, I have a text (a cookie) that I wish to use in an API call header, but whatever I do, this code break the variable it's in or doesn't show up in my API call headers. Here's the text / cookies:…
-
[SOLVED] Is this a bug? 500 Internal Server Error
Here is what I get.
-
SQLSTATE[55000] error from Bulk Add Record
We encountered this error . we add 2 row record using Bulk Add Record this is working yesterday. thank you for your help sir Chris Error is: