Skip to content

Failed to send OTP  #1

@sana2024

Description

@sana2024

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"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions