Forum Discussion

juraj7b's avatar
juraj7b
Data Storage
07-26-2023

SisenseJs integrationruntime error

Hey folks,
I’m getting runtime error during
Sisense.connect function call - sisense.v1.js:1437 Uncaught TypeError: Cannot read properties of undefined (reading 'name')

When inspecting sources this is where it comes from
key: "getSocketOrigin",
                   value: function(e) {
                       var t = e.user.tenant.name; <<<<
                       return t && "system" !== t ? window.prism.origin.replace(new RegExp("/" + t + "/?$"), "") : window.prism.origin
                   }


Additional info that might be helpful
- I get HTTP 401 when fetching following script - https://the7bridges.sisense.com/api/v1/plugins/get_info

Any help will be appreciated

regards

Juraj

1 Reply

Replies have been turned off for this discussion
  • juraj7b's avatar
    juraj7b
    Data Storage

    Hello

    1. Its initial implementation it has never worked
    2. Attached a file SisenseContext.txt (typescript file)
    3. WAT
    4. All browsers
    5. All users
    6.Har link here - https://file.io/BrxV3hI4NjMF -  only console error is “Uncaught TypeError: e.user.tenant is undefined
    7. Its initial implementation it has never worked
    8. Whitelisted localhost domains for CORS purposes
    9. N/a
    10. 

     

     

     

    " border="0">

     
    11. N/a