Skip to content

VOSpaceClient throws IllegalStateException for unauthorized calls #89

@at88mph

Description

@at88mph

If a user attempts to create a folder or upload a file into a VOSpace to which they are not authorized to do so, the client will throw an IllegalStateException and a 500 Server Error, which is inappropriate.

The server logs from the service that the client was connecting to correctly report the unauthorized error:
PermissionDenied (401): Write permission denied on ...

But the client interprets it as an IllegalStateException.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions