Office Hours

  • The focus of this conversation is on the practical implementation details of integrating Xano WebSockets to enable real-time updates within an application. Initially struggling with establishing and maintaining a stable connection and effectively managing message exchanges across sessions, the discussion pivoted towards troubleshooting the setup, specifically focusing on the correct configurations for channel connections.
    0
    0
  • The focus of this conversation was on troubleshooting an issue with a custom HTML button in Shopify used for signing up via an API. Key points covered include: The issue where the form submission is not triggering any network events when sending data to Xano. Verification that the API endpoint URL is correct. Ensuring that the HTML and JavaScript are correctly set up, including checking for multiple instances of IDs causing conflicts. Adding console logs to debug and confirm that the form submission event is firing. We resolved the problem by identifying and removing duplicate elements with the same IDs and ensuring the JavaScript was correctly targeting the updated IDs. This allowed the form submission to successfully trigger and send data to the API.
    0
    0
  • The focus of this conversation is on implementing real-time nested channels for each user in an app, ensuring that these channels are private and require authentication. Key points covered include: Setting up real-time channels and ensuring each user has a dedicated private channel. Connecting to these channels via Postman for testing, and addressing issues related to establishing connections and authenticating users. Enabling anonymous connections temporarily to test nested channels. Using a base channel with unique identifiers for each user to maintain private communication. Adding authentication tokens to WebSocket connections in Postman by configuring headers properly. Disabling anonymous connections and ensuring messages are only sent to authenticated users. We covered practical implementation details such as testing nested channels with anonymous connections, dynamically generating private channels based on user IDs, and configuring Postman to authenticate WebSocket connections using tokens.
    0
    0
  • The focus of this conversation is on managing large file transfers, particularly wav and zip files exceeding 2GB. Key points covered include: The limitations and costs associated with storing large files directly in Xano. Recommendations to use external services like Amazon S3, Google Cloud Storage, or Uploadcare for handling large file storage. Explanation of how Uploadcare provides frontend components to handle direct uploads from the client, bypassing Xano, and sending notifications to Xano via webhooks. Guidance on orchestrating file transfers using API keys, Xano as a conductor, and handling notifications for successful uploads. Ensuring that Xano's integration is efficient by only handling structured data and orchestrating rather than processing large files directly. We also discussed finding relevant documentation and video resources for integrating external file storage services and managing webhooks to notify Xano of successful uploads.
    0
    0
  • The focus of this conversation is on adding a CC (carbon copy) field to an email using a specific programming approach. Initially, the user was trying to add the CC field but faced issues with the expected data structures, receiving errors about mismatched types. The discussion included creating a CC variable to hold an array of CC objects, and then ensuring these objects have the correct key-value pairs (name and email). The user shared their current approach, which involved manipulating JSON inputs and handling arrays and objects. They received guidance on how to properly format the CC objects and push them into the array, including renaming variables and restructuring data to fit the expected format. They also discussed the importance of consulting documentation for required fields. Finally, after debugging and testing, they successfully created the CC field with the correct structure, ensuring the email function worked without errors. We cover practical implementation details such as creating and manipulating JSON objects, handling arrays in function stacks, and debugging data structure mismatches.
    0
    0
  • The focus of this conversation is on resolving an issue related to an API call within Adalo that involves integrating with Xano, specifically around time zone handling and data formatting. Initially, there were errors (HTTP 500 and 400) occurring due to incorrect date and time formatting between Adalo and Xano. The user was guided to change the time zone handling in the API calls from New York time to UTC. By running tests and examining the database records, they confirmed that the issue was due to the incorrect time zone conversion.
    0
    0