You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The document download endpoint (GET platform.reapit.cloud/documents/{id}/download) currently throws an exception and returns a 500 error if the physical file does not exist in the customers document storage location. This should really be a 404. We recently introduced a HEAD method which behaves in the correct manner, so this should be easily resolved
To Reproduce
Steps to reproduce the behaviour eg:
Upload a document then delete the physical file asset so the database record becomes orphaned
Try to download the document via the API. Observe 500 error
Specification
Project: Reapit.Services.Documents
Fix bug as above, 404 should be returned when physical asset does not exist
The text was updated successfully, but these errors were encountered:
Describe the bug
Logged from Zendesk case 912
The document download endpoint (GET platform.reapit.cloud/documents/{id}/download) currently throws an exception and returns a 500 error if the physical file does not exist in the customers document storage location. This should really be a 404. We recently introduced a HEAD method which behaves in the correct manner, so this should be easily resolved
To Reproduce
Steps to reproduce the behaviour eg:
Specification
The text was updated successfully, but these errors were encountered: