Hi, I have a problem during try create user with p...
# talk-kratos
d
Hi, I have a problem during try create user with password:
stringA123!
-
Expected password hash to contain a count formatted as int but got: 1,316
When i use another password i don't have errors. Anybody know, what is the cause of this error? Is it some bug?
Copy code
POST <http://127.0.0.1:4533/self-service/registration?flow=735443f4-987e-4627-a066-82a101f792ea> HTTP/1.1
User-Agent: vscode-restclient
Content-Type: application/json
accept-encoding: gzip, deflate
content-length: 114

{
  "method": "password",
  "password": "stringA123!",
  "traits.username": "tomasz-paszek-1661515956"
}


HTTP/1.1 500 Internal Server Error
Cache-Control: private, no-cache, no-store, must-revalidate
Content-Type: application/json
Vary: Origin, Cookie
Date: Fri, 26 Aug 2022 12:12:36 GMT
Content-Length: 228
Connection: close

{
  "error": {
    "code": 500,
    "status": "Internal Server Error",
    "reason": "Expected password hash to contain a count formatted as int but got: 1,316",
    "message": "An internal server error occurred, please contact the system administrator"
  }
}
b
Hi! This is a known bug in Kratos and has been fixed here: https://github.com/ory/kratos/pull/2698 Will be available in the next version!
d
thx for this information and quick reply 👍