/users API throwing User not found.

Fetching all users using below API fetches all the users with status, ACTIVE, DECLINED, DEACTIVATED.
https://api.smartsheet.com/2.0/users
But when we try to fetch the single user using https://api.smartsheet.com/2.0/users/abc
If the user abc has status as DECLINED. It fails with error
{
"errorCode": 1020,
"message": "User not found.",
"refId": "la99qz"
}
Any other user with status ACTIVE or DEACTIVATED can be fetched by using the API.
Is this an expected behaviour?
Best Answer
-
Hi @amogha
Yes, this is expected because users that decline your account invitation are not members of your account (which means they cannot be fetched with Get User).
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Answers
-
Hi @amogha
Yes, this is expected because users that decline your account invitation are not members of your account (which means they cannot be fetched with Get User).
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives