Skip to content

Lack of error handling and response clarity in /get-new-stickers endpoint #3

@akshathav25

Description

@akshathav25

As a new contributor, I noticed that the backend currently does not explicitly handle
failure scenarios such as image download errors, invalid image URLs, or empty results.

The API always returns a success response even when:

  • Image downloads fail
  • Processed sticker list is empty
  • External requests return unexpected responses

It would be helpful to:

  • Add basic error handling for image downloads
  • Return clearer API responses or status codes when no stickers are generated
  • Document expected success vs failure responses for the client

This would improve robustness and make client-side handling easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions