Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"searchUserByPhoneNumber" Method Returns 404 on Production Server #3023

Open
MasoodGharahi opened this issue Aug 14, 2024 · 3 comments
Open

Comments

@MasoodGharahi
Copy link

I'm using TDLib in a .NET application. On my local machine, the searchUserByPhoneNumber method works as expected and successfully finds the user. However, when deployed to the production server, the same method returns a 404 error.

Has anyone encountered this issue? Does the Telegram API have any rate limits or restrictions that might cause this behavior?

@levlam
Copy link
Contributor

levlam commented Aug 14, 2024

This is intended behavior. Server may not return the user if it isn't in your contact list.

@MasoodGharahi
Copy link
Author

@levlam Thanks. you mean it may vary from devices or phone numbers? because as I said it works and returns data on my local machine..

@levlam
Copy link
Contributor

levlam commented Aug 17, 2024

It definitely can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants