Hi all, I am setting SMS OTP ``` "phone": {...
# general
s
Hi all, I am setting SMS OTP
Copy code
"phone": {
          "type": "string",
          "format": "tel",
          "title": "Phone number",
          "<http://ory.sh/kratos|ory.sh/kratos>": {
            "credentials": {
              "code": {
                "identifier": true,
                "via": "sms"
              }
            }
          }
        }
and
Copy code
courier:
  channels:
    - id: sms
      type: http
      request_config:
........
but i get error when call
self-service/registration?flow=90ef0a1a-6084-42bd-9432-811cddf4d00e
with phone: "+84....."
Copy code
"messages": [
          {
            "id": 4000001,
            "text": "credentials.code.via has unknown value \"sms\"",
            "type": "error",
            "context": {
              "reason": "credentials.code.via has unknown value \"sms\""
            }
          }
        ],
please give me some advices, thank all!