question

Marian Stychuk avatar image
Marian Stychuk asked

For not found accounts, the server/GetUserAccountInfo API returns InvalidParams instead of AccountNotFound

Considering that the admin/GetUserAccountInfo returns the expected error AccountNotFound (1001) for not found accounts, the server/GetUserAccountInfo returning the InvalidParams (1000) is unexpected and seems like a bug.

apisAccount Management
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

Thanks for your feedback. Currently, you may use the admin GetUserAccountInfo API instead of the server GetUserAccountInfo API to get more accurate error reporting.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.