Addressing Integration and Function Issues in Xano and SendGrid API
The key topic of this State Changers meeting revolved around troubleshooting an integration issue with SendGrid in Xano. The participant was experiencing an error message stating that "the provider operation agreement is invalid."
In response, a second participant suggested exploring the "Xano marketplace stuff." However, they expressed dissatisfaction with the visibility of many elements put together in Xano. So, they focused their attention on the error, which was happening during a basic sending function via SendGrid.
After inspecting several aspects of the function, they found that the text-based SendGrid API key used in the environment might be an issue. A follow-up revealed an unusual-looking API key made of a series of tildes (~), which was identified as a potential cause of the connection problem.
When the participant successfully changed the API key, part of the problem appeared to be solved. However, the State Changers still suggested replacing the Xano SendGrid integration with a custom function for better control and less complexity, as Xano excels more in primitives than in integrating complex systems like SendGrid.
Towards the end, further guidance was given regarding SendGrid's email sending features- a basic send for plain text emails and a dynamic send for rich HTML templates with tokens for inserting personalized data. The participant was requested to obtain the relevant data and template ID from SendGrid itself to execute a dynamic send function. The meeting concluded with the participant making significant progress in understanding and resolving their issue with the help of other State Changers. No future actions or plans were specifically discussed.