juspay/hyperswitch

[BUG] 5xx while parsing `Evidence Type` in Disputes Attach Evidence file upload flow

Open

#3,489 opened on Jan 30, 2024

View on GitHub
 (3 comments) (0 reactions) (2 assignees)Rust (42,690 stars) (4,676 forks)batch import
A-coreC-buggood first issue

Description

Bug Description

5xx while parsing Evidence Type in Disputes File upload flow

Expected Behavior

It should have been a Bad request, telling Invalid Evidence Type

Actual Behavior

We are throwing 5xx

Steps To Reproduce

Provide an invalid evidence_type while doing File upload in Dispute Attach Evidence flow

Have you spent some time checking if this bug has been raised before?

  • I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

None

Contributor guide