Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
6.2 kB
1
Indexable
Never
query: SELECT DISTINCT "distinctAlias"."User_id" as "ids_User_id" FROM (SELECT "User"."id" AS "User_id", "User"."first_name" AS "User_first_name", "User"."last_name" AS "User_last_name", "User"."email" AS "User_email", "User"."avatar_id" AS "User_avatar_id", "User"."invitation_token" AS "User_invitation_token", "User"."forgot_password_token" AS "User_forgot_password_token", "User"."password_digest" AS "User_password_digest", "User"."organization_id" AS "User_organization_id", "User"."role" AS "User_role", "User"."password_retry_count" AS "User_password_retry_count", "User"."created_at" AS "User_created_at", "User"."updated_at" AS "User_updated_at", "User_organizationUsers"."id" AS "User_organizationUsers_id", "User_organizationUsers"."role" AS "User_organizationUsers_role", "User_organizationUsers"."status" AS "User_organizationUsers_status", "User_organizationUsers"."organization_id" AS "User_organizationUsers_organization_id", "User_organizationUsers"."user_id" AS "User_organizationUsers_user_id", "User_organizationUsers"."invitation_token" AS "User_organizationUsers_invitation_token", "User_organizationUsers"."created_at" AS "User_organizationUsers_created_at", "User_organizationUsers"."updated_at" AS "User_organizationUsers_updated_at" FROM "users" "User" LEFT JOIN "organization_users" "User_organizationUsers" ON "User_organizationUsers"."user_id"="User"."id" WHERE "User"."email" = $1) "distinctAlias" ORDER BY "User_id" ASC LIMIT 1 -- PARAMETERS: ["dev@tooljet.io"]
query failed: SELECT DISTINCT "distinctAlias"."User_id" as "ids_User_id" FROM (SELECT "User"."id" AS "User_id", "User"."first_name" AS "User_first_name", "User"."last_name" AS "User_last_name", "User"."email" AS "User_email", "User"."avatar_id" AS "User_avatar_id", "User"."invitation_token" AS "User_invitation_token", "User"."forgot_password_token" AS "User_forgot_password_token", "User"."password_digest" AS "User_password_digest", "User"."organization_id" AS "User_organization_id", "User"."role" AS "User_role", "User"."password_retry_count" AS "User_password_retry_count", "User"."created_at" AS "User_created_at", "User"."updated_at" AS "User_updated_at", "User_organizationUsers"."id" AS "User_organizationUsers_id", "User_organizationUsers"."role" AS "User_organizationUsers_role", "User_organizationUsers"."status" AS "User_organizationUsers_status", "User_organizationUsers"."organization_id" AS "User_organizationUsers_organization_id", "User_organizationUsers"."user_id" AS "User_organizationUsers_user_id", "User_organizationUsers"."invitation_token" AS "User_organizationUsers_invitation_token", "User_organizationUsers"."created_at" AS "User_organizationUsers_created_at", "User_organizationUsers"."updated_at" AS "User_organizationUsers_updated_at" FROM "users" "User" LEFT JOIN "organization_users" "User_organizationUsers" ON "User_organizationUsers"."user_id"="User"."id" WHERE "User"."email" = $1) "distinctAlias" ORDER BY "User_id" ASC LIMIT 1 -- PARAMETERS: ["dev@tooljet.io"]
error: error: relation "users" does not exist
    at Parser.parseErrorMessage (/home/himanshu/Desktop/ToolJet/server/node_modules/pg-protocol/src/parser.ts:369:69)
    at Parser.handlePacket (/home/himanshu/Desktop/ToolJet/server/node_modules/pg-protocol/src/parser.ts:188:21)
    at Parser.parse (/home/himanshu/Desktop/ToolJet/server/node_modules/pg-protocol/src/parser.ts:103:30)
    at Socket.<anonymous> (/home/himanshu/Desktop/ToolJet/server/node_modules/pg-protocol/src/index.ts:7:48)
    at Socket.emit (events.js:400:28)
    at Socket.emit (domain.js:537:15)
    at addChunk (internal/streams/readable.js:293:12)
    at readableAddChunk (internal/streams/readable.js:267:9)
    at Socket.Readable.push (internal/streams/readable.js:206:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
    at TCP.callbackTrampoline (internal/async_hooks.js:130:17) {
  length: 106,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '1259',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '1381',
  routine: 'parserOpenTable'
}
INFO [12/13/2022, 11:21:34 AM UTC] (4061 on himan): request completed
    res: {
      "statusCode": 422,
      "headers": {
        "x-powered-by": "Express",
        "access-control-allow-origin": "*",
        "content-security-policy": "img-src * data: blob:;script-src maps.googleapis.com storage.googleapis.com apis.google.com accounts.google.com 'self' 'unsafe-inline' 'unsafe-eval' blob: https://unpkg.com/@babel/standalone@7.17.9/babel.min.js https://unpkg.com/react@16.7.0/umd/react.production.min.js https://unpkg.com/react-dom@16.7.0/umd/react-dom.production.min.js cdn.skypack.dev cdn.jsdelivr.net;default-src maps.googleapis.com storage.googleapis.com apis.google.com accounts.google.com *.sentry.io 'self' blob:;connect-src ws://localhost 'self' *;frame-ancestors *;frame-src *;base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;object-src 'none';script-src-attr 'none';style-src 'self' https: 'unsafe-inline'",
        "content-type": "application/json; charset=utf-8",
        "content-length": "130",
        "etag": "W/\"82-9wPH5+gf8wBYBWNqvSZkjW375MM\"",
        "vary": "Accept-Encoding"
      }
    }
    responseTime: 104
    req: {
      "id": 4,
      "method": "POST",
      "url": "/api/authenticate",
      "query": {},
      "params": {
        "0": "/authenticate"
      },
      "headers": {
        "host": "localhost:3000",
        "user-agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0",
        "accept": "*/*",
        "accept-language": "en-US,en;q=0.5",
        "accept-encoding": "gzip, deflate, br",
        "referer": "http://localhost:8082/",
        "content-type": "application/json",
        "content-length": "48",
        "origin": "http://localhost:8082",
        "connection": "keep-alive",
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "sec-fetch-site": "same-site"
      },
      "remoteAddress": "127.0.0.1",
      "remotePort": 48162
    }