javascriptnode.jssails.js

CloudError: Endpoint (observeMySession) responded with an error


Node version: 20.5.0

Sails version (sails): 1.5.7

ORM hook version (sails-hook-orm): 4.0.0

Sockets hook version (sails-hook-sockets): 2.0.0

Organics hook version (sails-hook-organics): 2.0.0

Grunt hook version (sails-hook-grunt): 5.0

First install according to "get-started" and created "Web App"

Signed up with email address and when I try login I am facing this error.

"CloudError: Endpoint (observeMySession) responded with an error (or the request failed)."

Uncaught (in promise) CloudError: Endpoint (observeMySession) responded with an errorv(or the request failed).
   exec http://localhost:1337/dependencies/cloud.js:649
   _promise http://localhost:1337/dependencies/cloud.js:612
   toPromise http://localhost:1337/dependencies/cloud.js:610
   then http://localhost:1337/dependencies/cloud.js:592

cloud.js:649:33

Solution

  • This was addressed and fixed in sails v1.5.8. See here: https://github.com/balderdashy/sails/issues/7297#issuecomment-1703316425