keybase-issues icon indicating copy to clipboard operation
keybase-issues copied to clipboard

user lookup api returns bad list value instead of null

Open mustaffa opened this issue 1 year ago • 0 comments

Hello, When I call the user lookup API, some keybase user accounts cause api to return an error like below, instead of Null.

status code 100 desc "bad list value" fields usernames "bad list value" name "INPUT_ERROR"

A sample api call URL returning error is like this: https://keybase.io/_/api/1.0/user/lookup.json?usernames=keybase_neverbackdown&fields=pictures,basics,proofs_summary

Some other usernames causing same error are acc0unt1 and nokeybaseusername.

As per your api documentation if a user is not found it should return Null without an error, like this one: https://keybase.io/_/api/1.0/user/lookup.json?usernames=aasdads1231aas&fields=pictures,basics,proofs_summary

mustaffa avatar Apr 16 '24 07:04 mustaffa