Skip to content

More explicit exception should be thrown when continuation token is invalid #453

Closed
@jackliums

Description

Describe the bug
If an invalid continuation token is passed in, the server throws generic 500 Internal Server Error. We should throw more specific error here.

To Reproduce
Steps to reproduce the behavior:

  1. Make a search call with some invalid continuation token.

Expected behavior
The server throw an error indicating that the continuation token is invalid.

Actual behavior
500 Internal Server Error is thrown with generic error message.

Metadata

Labels

Area-SearchArea related to search.BugBug bug bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions