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

[FE] supabaseKey is required error #162

Open
jazownik-tivix opened this issue Feb 14, 2025 · 0 comments
Open

[FE] supabaseKey is required error #162

jazownik-tivix opened this issue Feb 14, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jazownik-tivix
Copy link
Collaborator

jazownik-tivix commented Feb 14, 2025

Description
When I was trying to create employee, after selecting ladder and tech, clicking on submission triggers 500 error.

Logs
Endpoint:
http://localhost:8080/cpf/people/add-new/main-ladder
Response:

0:["$@1",["development",null]]
1:E{"digest":"2669884653","message":"supabaseKey is required.","stack":"Error: supabaseKey is required.\n at new SupabaseClient (webpack-internal:///(action-browser)/./node_modules/@supabase/supabase-js/dist/module/SupabaseClient.js:55:19)\n at createClient (webpack-internal:///(action-browser)/./node_modules/@supabase/supabase-js/dist/module/index.js:59:12)\n at createEmployee (webpack-internal:///(action-browser)/./src/actions/user.ts:70:89)\n at endpoint (webpack-internal:///(action-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-action-entry-loader.js?actions=%5B%5B%22%2Fcode%2Fsrc%2Factions%2Fuser.ts%22%2C%5B%22signup%22%2C%22login%22%2C%22createEmployee%22%5D%5D%5D&client_imported=true!:10:17)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async /code/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:39:418\n at async rk (/code/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:38:8148)\n at async r3 (/code/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:41:1256)\n at async doRender (/code/node_modules/next/dist/server/base-server.js:1427:30)\n at async cacheEntry.responseCache.get.routeKind (/code/node_modules/next/dist/server/base-server.js:1576:40)\n at async DevServer.renderToResponseWithComponentsImpl (/code/node_modules/next/dist/server/base-server.js:1496:28)\n at async DevServer.renderPageComponent (/code/node_modules/next/dist/server/base-server.js:1924:24)\n at async DevServer.renderToResponseImpl (/code/node_modules/next/dist/server/base-server.js:1962:32)\n at async DevServer.pipeImpl (/code/node_modules/next/dist/server/base-server.js:922:25)\n at async NextNodeServer.handleCatchallRenderRequest (/code/node_modules/next/dist/server/next-server.js:272:17)\n at async DevServer.handleRequestImpl (/code/node_modules/next/dist/server/base-server.js:818:17)\n at async /code/node_modules/next/dist/server/dev/next-dev-server.js:339:20\n at async Span.traceAsyncFn (/code/node_modules/next/dist/trace/trace.js:154:20)\n at async DevServer.handleRequest (/code/node_modules/next/dist/server/dev/next-dev-server.js:336:24)\n at async invokeRender (/code/node_modules/next/dist/server/lib/router-server.js:178:21)\n at async handleRequest (/code/node_modules/next/dist/server/lib/router-server.js:355:24)\n at async requestHandlerImpl (/code/node_modules/next/dist/server/lib/router-server.js:379:13)\n at async Server.requestListener (/code/node_modules/next/dist/server/lib/start-server.js:141:13)"}

FE service logs:

frontend-1 | ⨯ Error: supabaseKey is required.
frontend-1 | at createEmployee (./src/actions/user.ts:70:89)
frontend-1 | digest: "2669884653"
frontend-1 | POST /people/add-new/main-ladder 500 in 31ms

Steps to reproduce

  1. Go to http://localhost:8080/cpf/people/add-new/main-ladder
  2. Add personal details
  3. On main ladder select ladder and technology (the data combination doesn't matter)
  4. click at "Confirm and continue

Screenshots

Image Image

Software version (tag, branch name or commit sha)
upgrade/supabase -> 99d1642

@jazownik-tivix jazownik-tivix changed the title [BE] supabaseKey is required error [FE] supabaseKey is required error Feb 14, 2025
@jazownik-tivix jazownik-tivix added the bug Something isn't working label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants