Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to send OTP #1

Open
sana2024 opened this issue Sep 7, 2023 · 1 comment
Open

Failed to send OTP #1

sana2024 opened this issue Sep 7, 2023 · 1 comment

Comments

@sana2024
Copy link

sana2024 commented Sep 7, 2023

hi,
i did everything as the readme says,
i installed the server on aws
run npm install
run node index
and opened port 3000 for it to be reachable through the internet and the server is running fine,

then of front end side i installed the package, changed the host url in otp service, run flutter pub get and run the project on my physical device but after writing my phone number nothing happens and in the log it says failed to send OTP

this is the full error with body

flutter: Exception: Failed to send OTP {"message":"Error","error":"The "key" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, DataView, KeyObject, or CryptoKey. Received undefined"}

@sana2024
Copy link
Author

sana2024 commented Sep 7, 2023

okay i found out i haven't used vonage in my backend, how am i supposed to configure that????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant