issue in React.js

Job ID: 37094946

Budget: $10 – $30 USD

Project Overview
Project Name: Writer-Assist

Description: Writer-Assist is a web application designed to help writers create, publish, promote, fund, review, and sell their books. It's built using React for the frontend and Node.js with Express for the backend. The database is managed using PostgreSQL.

Issue Description
Problem: Users are unable to register on the platform. When attempting to sign up, the server responds with a "431 Request Header Fields Too Large" error.

Error Details:

URL: http://localhost:3000/register
Request Method: POST
Request Headers: (Include the headers from the error log)
Response Status: 431 Request Header Fields Too Large
Response Headers: (Include the response headers from the error log)
Client-Side Code: The client-side code responsible for the registration is in the SignUpPage.js file. (Attach the file or provide a link to the relevant code in your repository.)

Server-Side Code: The server-side code handling the registration is in the server.js file. (Attach the file or provide a link to the relevant code in your repository.)

Steps to Reproduce:

Navigate to http://localhost:3000/signup
Fill in the email and password fields.
Click the "Sign Up" button.
Observe the error in the browser's console.
Previous Attempts to Resolve
(Include a summary of what you've tried so far to resolve the issue, including any changes made to the code, configuration, or environment.)

Additional Information
Operating System: IOS

Database Configuration: PostgreSQL
Expectations
We are looking for a resolution to the registration error, allowing users to register successfully on the platform without encountering the "431 Request Header Fields Too Large" error.
Related categories: JavaScript Node.js Express JS PostgreSQL React.js