Skip to content

[BUG REPORT] #538

@Beansz2015

Description

@Beansz2015

An error occurred

WORKER:ERROR [2025-05-19T12:32:22.199Z]     The "password" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, or DataView. Received undefined    
  - METHOD_NAME: enableSyncMode    
  - STATUS_CODE: 500    
  - STATUS_MESSAGE: Internal Server Error    
  - DATA: {
      "pubRequestParams": {
        "isNotSyncRequired": true
      },
      "bfxApiErrorMessage": null,
      "errorMetadata": null
    }    
  - STACK_TRACE TypeError [ERR_INVALID_ARG_TYPE]: The "password" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, or DataView. Received undefined
    at new Promise (<anonymous>)
    at Crypto.scrypt (C:/Users/user/AppData/Local/Programs/bfx-report-electron/resources/app/bfx-reports-framework/workers/loc.api/sync/crypto/index.js:78:12)
    at Crypto.encrypt (C:/Users/user/AppData/Local/Programs/bfx-report-electron/resources/app/bfx-reports-framework/workers/loc.api/sync/crypto/index.js:83:12)
    at Authenticator.signIn (C:/Users/user/AppData/Local/Programs/bfx-report-electron/resources/app/bfx-reports-framework/workers/loc.api/sync/authenticator/index.js:340:10)
    at async C:/Users/user/AppData/Local/Programs/bfx-report-electron/resources/app/bfx-reports-framework/workers/loc.api/service.report.framework.js:322:20

Debug info
Version 4.36.0
Commit Hash 7db6973
Commit Date 2025-05-14T16:20:03Z
Electron 33.4.2
Chrome 130.0.6723.191
Node.js 20.18.3
V8 13.0.245.25-electron.0
OS version Windows 11 Pro
OS release Windows_NT x64 10.0.22631
CPUs Intel(R) Core(TM) i7-10700F CPU @ 2.90GHz x 16
RAM 15.88GB (5.17GB free)
App RAM limit 4095.75Mb (12.19MB used)
Is BFX API Staging used No
Main log
Worker errors
Worker exceptions

The issue was opened from the electron app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions