juspay/hyperswitch

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

Open

#3.489 geöffnet am 30. Jan. 2024

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (2 zugewiesene Personen)Rust (4.676 Forks)batch import
A-coreC-buggood first issue

Repository-Metriken

Stars
 (42.690 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 22h) (213 gemergte PRs in 30 T)

Beschreibung

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