Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueryFailedError: Value too long for type character varying(255) during sign-up #199

Open
Programmer-RD-AI opened this issue Jan 22, 2025 · 0 comments

Comments

@Programmer-RD-AI
Copy link

An error occurs when trying to sign up on ScholarX. The error message indicates that a value is too long for a column defined as character varying(255) in the database.


Steps to Reproduce:

  1. Navigate to the ScholarX sign-up page.
  2. Fill in the required details and submit the form.
  3. Observe the error message.

Expected Behavior:
The sign-up process should complete successfully without throwing any database-related errors.


Actual Behavior:
The following error is encountered:

QueryFailedError: value too long for type character varying(255)
    at PostgresQueryRunner.query (/root/scholarx-backend/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:299:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async InsertQueryBuilder.execute (/root/scholarx-backend/node_modules/src/query-builder/InsertQueryBuilder.ts:163:33)
    at async SubjectExecutor.executeInsertOperations (/root/scholarx-backend/node_modules/src/persistence/SubjectExecutor.ts:434:42)
    at async SubjectExecutor.execute (/root/scholarx-backend/node_modules/src/persistence/SubjectExecutor.ts:137:9)
    at async EntityPersistExecutor.execute (/root/scholarx-backend/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)

Additional Information:

  • Browser/Platform: Google Chrome 132.0.6834.83 on Ubuntu 24.04.1 LTS
  • Console Logs: Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant