Azure / Azure/api-management-developer-portal

400 Bad Request from captcha API

Open
#1,887 3 comments 0 reactions 0 assignees View on GitHub
Response needed
Dominant language
TypeScript
Stars
545
Forks
360
PR merge metrics
No merged PRs in 30d

Description

## Bug description
When incorrect captcha is given. Even though it shows incorrect validation message, 400 bad request is thrown.

A clear and concise description of the bug.

## Reproduction steps

1. Go to Sign Up Page.
2. Fill all the form inputs.
3. In captcha, give incorrect value.
4. Click the sign up button.
5. See 400 bad request error from the console.

## Expected behavior
It should show validation message but should not throw error from the API.

## Is your portal managed or self-hosted?
Self-hosted

## Release tag

Release 18

## Environment

- Operating system: [e.g., iOS]
- Browser: [e.g., Google Chrome, Safari]
- Version: [e.g., 22]

## Additional context

![captcha 01](https://user-images.githubusercontent.com/75632710/182816825-c91266ac-04f7-44fd-882b-e32b4c97a04b.PNG)
![captcha 02](https://user-images.githubusercontent.com/75632710/182816957-b50f508b-2f8a-4610-bdef-1c396e29a24c.PNG)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the sign-up page and reproduce the incorrect-captcha submission against the captcha API, observing the validation response and the console error. Trace how that response is handled and verify that the validation message remains visible without an unhandled 400 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.