Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle service ownership error not handled well #746

Open
MrCreosote opened this issue Sep 6, 2024 · 0 comments
Open

Handle service ownership error not handled well #746

MrCreosote opened this issue Sep 6, 2024 · 0 comments

Comments

@MrCreosote
Copy link
Member

MrCreosote commented Sep 6, 2024

An error occured while processing IDs: There was an unexpected error while trying to contact the
Handle Service: 'Request owner failed.\nError Code: 401\n{\n  "data": null,\n
 "error": [\n    "User Unauthorized"\n  ],\n  "status": 401\n}\n\n'

https://github.com/kbase/workspace_deluxe/blob/develop/service/src/main/java/us/kbase/workspace/kbase/HandleIdHandlerFactory.java#L214-L217

Should catch a ServerException and report an error there.

Also may need a change in the handle service, should be returning 0s for any failures?

@MrCreosote MrCreosote changed the title Handle service error is getting thrown as a JsonClientException vs. a ServerException Handle service ownership error not handled well Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant