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

GET /documents/{documentId}/content - NoSuchKeyException #207

Closed
mfriesen opened this issue Feb 19, 2024 · 0 comments
Closed

GET /documents/{documentId}/content - NoSuchKeyException #207

mfriesen opened this issue Feb 19, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@mfriesen
Copy link
Member

calling GET /documents/{documentId}/content when the S3 document doesn't exist responses with 500 and error : The specified key does not exist.

at com.formkiq.aws.s3.S3Service.getContentAsString(S3Service.java:280)
2024-02-18T19:56:55.877-06:00 at com.formkiq.stacks.api.handler.DocumentIdContentRequestHandler.get(DocumentIdContentRequestHandler.java:92)
2024-02-18T19:56:55.877-06:00 at com.formkiq.aws.services.lambda.AbstractRestApiRequestHandler.callHandlerMethod(AbstractRestApiRequestHandler.java:137)
2024-02-18T19:56:55.877-06:00 at com.formkiq.aws.services.lambda.AbstractRestApiRequestHandler.processRequest(AbstractRestApiRequestHandler.java:631)
2024-02-18T19:56:55.877-06:00 at com.formkiq.aws.services.lambda.AbstractRestApiRequestHandler.processApiGatewayRequest(AbstractRestApiRequestHandler.java:557)
2024-02-18T19:56:55.877-06:00 at com.formkiq.aws.services.lambda.AbstractRestApiRequestHandler.handleRequest(AbstractRestApiRequestHandler.java:346)

@mfriesen mfriesen added this to the v1.14.0 milestone Feb 19, 2024
@mfriesen mfriesen added the bug Something isn't working label Feb 19, 2024
@mfriesen mfriesen modified the milestones: v1.14.0, v1.15.0 Apr 1, 2024
mfriesen added a commit that referenced this issue Jul 7, 2024
* 215 - Add "ocrNumberOfPages" to OCR action

* #207 - GET /documents/{documentId}/content - NoSuchKeyException

* #217 - deepLinkPath property is using the deepest-level name as path and is not modifiable

* #218 - POST /search tag range not inclusive of "end" value

* #228 - add IDP Mapping

* #227 - Modify "Only available with Pro/Enterprise" text in /documents/{id}/ocr endpoints

* #226 - Add ability to publish document

* Updated console to 3.6.0

* #232 - Add Schema Classification

* #231 - Require valid URL on deepLinkPath property

* #195 - Users API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant