Comments (4)
@rohankm, thanks for creating this! 🙏🏼 Looks like we need to:
- extract the templateId from the env var and set it here
MSG91 in the Messaging Providers is also broken. For that, we'll need to:
- Update the Create MSG91 endpoint to:
- accept templateId as a param
- add templateId to credentials
- remove the from param
- Update the Update MSG91 endpoint to:
- accept templateId as a param
- add templateId to credentials
- remove the from param
- Update the Console
from appwrite.
@stnguyen90 temporary i manually set the keys here
I logged the messages being sent and it's like this 596853 is your myProject verification code.
for Msg91 especially in India there are specific variables set which cannot be exceeded certain length
here is the error message from Msg91
DLT Template variable exceeded max length
from appwrite.
as a workaround for this i had to modify this line of code
appwrite/app/controllers/api/account.php
Line 2301 in f7e6d51
$message = $message->setParam('{{token}}', $secret);
from appwrite.
DLT Template variable exceeded max length
Thanks for raising this! Looks like their FAQ says:
Q. What is the character limit in Variable {#var#} while sending SMS?
The actual value of the variable while sending an SMS will be maximum 30 characters, for English and Unicode both.
from appwrite.
Related Issues (20)
- 🐛 Bug Report: Function with the requested ID could not be found.
- 🐛 Bug Report: Creating new function with new Repo results in error - Unable to clone code repository: fatal: invalid refspec '0.1.*' HOT 3
- 📚 Documentation: About Building HOT 1
- 🐛 Bug Report: Migrate stuck at "Starting Data Migration to version 1.5.9"
- 🐛 Bug Report: Github function doesn't work anymore HOT 2
- 🐛 Bug Report: images is not getting previewed in smartphone browser like safari and chrome HOT 5
- 🚀 Enhancement: Add Option to Select Multiple Entries and Deleted them at a time on frontend. HOT 1
- 🚀 Enhancement: ADD a Query.group
- 🚀 Enhancement: Ability to change template languages (Not english)
- 🐛 Bug Report: HOT 5
- 🐛 Bug Report: The requested route was not found. Please refer to the API docs and try again. HOT 1
- 🐛 Bug Report: "Users.createSession()" returns invalid session secret HOT 1
- 🚀 Enhancement: Add missing events for "phone" and "mfa"
- 🚀 Enhancement: Add support for dotnet-8.0 runtime
- 🚀 Enhancement: Add Webflow OAuth Provider
- 🐛 Bug Report: Google OAuth2 verification process HOT 3
- 🐛 Bug Report: Invalid 'userId' param HOT 3
- 🐛 Bug Report: Schedules not working for functions with the same ID HOT 1
- Error Uploading to my bucket from form (Nodejs) - Backend HOT 1
- 🚀 Enhancement: Set Custom Cookie Name HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appwrite.