HF RL Explorer

UserInfo endpoint returns wrong HTTP status code and raises incorrect exception

UserInfo endpoint returns wrong HTTP status code and raises incorrect exception: a task in UltraTerminal (Harbor dataset). The UserInfo endpoint is returning HTTP status code 201 instead of 200 for successful responses, and raising InvalidClientError instead of ServerError when the "sub" claim is…

The task

The UserInfo endpoint is returning HTTP status code 201 instead of 200 for successful responses, and raising `InvalidClientError` instead of `ServerError` when the "sub" claim is missing from user claims.

Part of harness-hub/UltraTerminal.