-
Notifications
You must be signed in to change notification settings - Fork 23
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
access-api should respond to space/info
invocations for space dids not in its db with a well-defined error result type
#382
Comments
This was referenced Jan 21, 2023
space/info
invocations for space dids not in its db with a well-defined error result type with status = 404.space/info
invocations for space dids not in its db with a well-defined error result type
gobengo
added a commit
that referenced
this issue
Jan 30, 2023
…ure with name (#391) Motivation: * implement #382 * tl;dr `space/info` now has explicit failure type for case where the ucans are valid, but the space DID is not in the db. that way when upload-api invokes `space/info` as part of its `verifyInvocation` logic, it can distinguish between an invalid invocation and a not-found space id Unblocks: * this test passing gobengo/w3protocol-test#1 * rest of storacha/w3infra#134 (comment)
tested via gobengo/w3protocol-test#1 |
gobengo
added a commit
that referenced
this issue
Apr 11, 2023
…ure with name (#391) Motivation: * implement #382 * tl;dr `space/info` now has explicit failure type for case where the ucans are valid, but the space DID is not in the db. that way when upload-api invokes `space/info` as part of its `verifyInvocation` logic, it can distinguish between an invalid invocation and a not-found space id Unblocks: * this test passing gobengo/w3protocol-test#1 * rest of storacha/w3infra#134 (comment)
Peeja
pushed a commit
to storacha/upload-service
that referenced
this issue
Jan 17, 2025
🤖 I have created a release *beep* *boop* --- ## [4.0.0](storacha/w3ui@uploader-core-v3.0.2...uploader-core-v4.0.0) (2023-02-16) no real breaking changes, but a major version bump because release-please got confused by my mistakes. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Peeja
pushed a commit
to storacha/upload-service
that referenced
this issue
Jan 29, 2025
🤖 I have created a release *beep* *boop* --- ## [4.0.0](storacha/w3ui@uploader-core-v3.0.2...uploader-core-v4.0.0) (2023-02-16) no real breaking changes, but a major version bump because release-please got confused by my mistakes. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation:
space/info
handler. Right now they would have to parse an error message. With this they can just look atresult.status === 404
to check for this case.space/info
inside itsverifyInvocation
helper)Unblocks
The text was updated successfully, but these errors were encountered: