Skip to content

Forgot password not working post update sdk to 24.0.0 #1644

@cchaubey

Description

@cchaubey

Describe the bug?

UserCredApi - ForgotPasswordResponse forgotPassword(String userId, Boolean sendEmail) fails with 400 "Bad request. Accept and/or Content-Type headers likely do not match supported values." after updating the sdk to 24.0.0. As a temporary fix we are adding header Map.of("Content-Type", "application/json") to make this work.

What is expected to happen?

UserCredApi - ForgotPasswordResponse forgotPassword(String userId, Boolean sendEmail) should work.

What is the actual behavior?

UserCredApi - ForgotPasswordResponse forgotPassword(String userId, Boolean sendEmail) fails with 400 "Bad request. Accept and/or Content-Type headers likely do not match supported values." after updating the sdk to 24.0.0, for now we are adding header Map.of("Content-Type", "application/json") to make this work.

Reproduction Steps?

Execute ForgotPasswordResponse forgotPassword(String userId, Boolean sendEmail) method for a newly created user.

Image

Additional Information?

No response

Java Version

17

SDK Version

24.0.0

OS version

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions