Unable to add an identity with verifiable identity...
# talk-kratos
c
Unable to add an identity with verifiable identity address in Go SDK, because
id
isn't
omitempty
it gets sent and Kratos returns
{"error":{"code":500,"status":"Internal Server Error","message":"uuid: incorrect UUID length 0 in string \"\""}}
I can't open a bug report as the repo doesn't have any issues tab...
b
@colossal-whale-56336 Fixed here and waiting for kratos go client version bump :) https://github.com/ory/kratos/pull/2507
All sdk clients are auto generated based on swagger annotations on handler funcs…
Till then you can use this repo (https://github.com/atreya2011/kratos-client-go) as fallback with the following line in go.mod
replace <http://github.com/ory/kratos-client-go|github.com/ory/kratos-client-go> v0.10.1 => <http://github.com/atreya2011/kratos-client-go|github.com/atreya2011/kratos-client-go> v0.10.2
Once kratos go client version gets bumped, all you have to do is delete the above line from your
go.mod
:)
h
thank you @bulky-architect-22083 :)
🙇‍♂️ 1
c
Thanks both! 🙂