Hello Vishav Singh | CHECKER,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that your API is not working and not returning result.
Regarding your explanations, many things can cause this and there are couple of things you would need to troubleshoot.
Among many are the followings:
- You will need to verify that your authentication is correct and has the necessary permissions.
- The API endpoint and version are correctly specified in your request URL.
- The query parameters are correctly formatted.
Try the to view the documentation below for more steps and ways to resolve the issues:
- https://learn.microsoft.com/en-us/rest/api/searchservice
- https://techcommunity.microsoft.com/t5/apps-on-azure-blog/how-to-troubleshoot-azure-functions-http-trigger-404-error/ba-p/3766817
- https://learn.microsoft.com/en-us/azure/search/search-pagination-page-layout
- https://learn.microsoft.com/en-us/rest/api/searchservice/search-documents
- https://learn.microsoft.com/en-us/azure/search/cognitive-search-common-errors-warnings
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.