You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting courier.templates.registration_code.valid.sms.body.plaintext
I got this error:
The configuration contains values or keys which are invalid:
courier.templates.registration_code.valid: map[sms:map[body:map[plaintext:base64://]]]
^-- additionalProperties "sms" not allowed
Without this, when register an account via phone number, I got this error:
time=2024-12-12T12:49:40Z level=error msg=An error occurred and is being forwarded to the error user interface. audience=application error=map[debug: message:An internal server error occurred, please contact the system administrator reason:Expected sms template but got <nil> stack_trace:
github.com/ory/kratos/selfservice/strategy/code.(*Strategy).registrationSendEmail
/project/selfservice/strategy/code/strategy_registration.go:196
github.com/ory/kratos/selfservice/strategy/code.(*Strategy).Register
/project/selfservice/strategy/code/strategy_registration.go:156
github.com/ory/kratos/selfservice/flow/registration.(*Handler).updateRegistrationFlow
/project/selfservice/flow/registration/handler.go:648
github.com/ory/kratos/selfservice/flow/registration.(*Handler).RegisterPublicRoutes.(*Handler).IsNotAuthenticated.func3
/project/session/handler.go:928
github.com/ory/kratos/x.(*RouterPublic).POST.NoCacheHandle.func1
/project/x/nocache.go:21
github.com/ory/kratos/x.(*RouterPublic).Handle.NoCacheHandle.func1
/project/x/nocache.go:21
github.com/julienschmidt/httprouter.(*Router).ServeHTTP
/go/pkg/mod/github.com/julienschmidt/[email protected]/router.go:387
github.com/ory/nosurf.(*CSRFHandler).handleSuccess
/go/pkg/mod/github.com/ory/[email protected]/handler.go:234
github.com/ory/nosurf.(*CSRFHandler).ServeHTTP
/go/pkg/mod/github.com/ory/[email protected]/handler.go:185
Reproducing the bug
Setup a schema which allows phone registration
Try register an account via ui using phone number, code registration.
observice the error
{
"id": "580c738c-a438-445a-ba35-99c658e67473",
"error": {
"code": 500,
"reason": "Expected sms template but got <nil>",
"status": "Internal Server Error",
"message": "An internal server error occurred, please contact the system administrator"
},
"created_at": "2024-12-12T12:59:50Z",
"updated_at": "2024-12-12T12:59:50Z"
}
Relevant log output
No response
Relevant configuration
No response
Version
v1.3.1
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Kubernetes with Helm
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Preflight checklist
Ory Network Project
No response
Describe the bug
When setting
courier.templates.registration_code.valid.sms.body.plaintext
I got this error:
Without this, when register an account via phone number, I got this error:
Reproducing the bug
Relevant log output
No response
Relevant configuration
No response
Version
v1.3.1
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Kubernetes with Helm
Additional Context
No response
The text was updated successfully, but these errors were encountered: