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

🐛 /index returns status code 200 even when the upload fails #47

Open
lpm0073 opened this issue Dec 15, 2023 · 0 comments
Open

🐛 /index returns status code 200 even when the upload fails #47

lpm0073 opened this issue Dec 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@lpm0073
Copy link
Member

lpm0073 commented Dec 15, 2023

Describe the bug
When uploading images using the /index end point, the return code is always 200, even if the upload failed. the following screen shot of the CloudWatch log shows three failed uploads, but I received a 200 response in each of these cases.

Screenshot 2023-12-15 at 2 58 14 p m

Workflow
upload any image to /index

Expected behavior

  • if the return is 200 then the image should have uploaded.
  • if the upload failed for any reason then the return code should not be 200

Additional context

@lpm0073 lpm0073 added the bug Something isn't working label Dec 15, 2023
@lpm0073 lpm0073 changed the title /index returns status code 200 even when the upload fails 🐛 /index returns status code 200 even when the upload fails Dec 15, 2023
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