Missing this.request.context.userId

Without doing any changes on our end, all requests to our CloudCode endpoints have this.request.context.userId set to null as well as the role set to Not Authenticated, while user-token is not blank.

This issue is preventing us from identifying users and our services are completely down because of this.

Please advise.

Steps to reproduce:

  • create an new testFunc js cloudcode function
  • only add console.log({ userId: this.request.context.userId}) in the function body
  • login with any user and call testFunc using backendless js SDK
  • logs should show {userId: <ACTUAL ID HERE>}, instead they show {userId: null}
1 Like

We have reverted the release and created an internal ticket to fix the issue