Skip to content

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

Description

@lpm0073

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鈥痯 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions