[GH-ISSUE #299] Already registered email signUp missing proper content-type #8208

Closed
opened 2026-04-13 03:18:41 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @darklight9811 on GitHub (Oct 23, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/299

Describe the bug
When returning a request (using hono) for sign Up using emails, the content-type is declared as text/plain, but it returns an json object

To Reproduce
Steps to reproduce the behavior:

  1. register an email
  2. try to register the same email again

Expected behavior
for the content-type header to be text/json

Desktop (please complete the following information):

  • OS: windows 10
  • Browser postman
  • Version 11.18
Originally created by @darklight9811 on GitHub (Oct 23, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/299 **Describe the bug** When returning a request (using hono) for sign Up using emails, the content-type is declared as `text/plain`, but it returns an json object **To Reproduce** Steps to reproduce the behavior: 1. register an email 2. try to register the same email again **Expected behavior** for the content-type header to be text/json **Desktop (please complete the following information):** - OS: windows 10 - Browser postman - Version 11.18
GiteaMirror added the locked label 2026-04-13 03:18:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8208