azure-sdk-for-python: Azure Search python sdk returns "Operation returned an invalid status 'Partial Content'"

  • Package Name: azure-search-documents
  • Package Version: 11.6.0b3
  • Operating System: Windows 11
  • Python Version: 3.11

Describe the bug A clear and concise description of what the bug is.

When trying to enumerate results returned from search client using “async for <results>.by_page()” the sdk raises an error “Operation returned an invalid status ‘Partial Content’”.

To Reproduce Steps to reproduce the behavior:

  1. Just try to enumerate search results of async search client using by_page().

Expected behavior The results should enumerate.

Additional context This was already working code deployed to server. It has retroactively stopped working. I don’t know who messed up what, but this is pretty terrible. I haven’t faced an issue from Microsoft sdks yet where already working code was retroactively broken. That too on a Friday 😦

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

@xiangyan99 Why have you closed this issue? The sdk is not working as of now. If a service ticket has to be filed please provide details. Either way the sdk is not working so I don’t see why this issue should be closed?

For updates: https://github.com/Azure/azure-sdk-for-python/issues/35576#issuecomment-2104995097:

Azure responded to the ticket I opened earlier this morning. They mentioned that this behavior is occurring due to an outage issue, and they are currently collaborating with the engineering team to resolve it.