[SOLVED] REST Validation Fails With Authenticated User

This code returns a current user:

Moralis.initialize('CODE HERE');
Moralis.serverURL = 'SERVER URL HERE';
let currentUser = Moralis.User.current();
console.log('CurrentUser', currentUser)

Performing a GET to a Cloud Function shortly after produces:

{code: 142, error: 'Validation failed. Please login to continue.'}

Why is not the GET function validating the current Moralis user?

The Error log on the Dashboard shows:

Failed running cloud function FunctionNameHere for user undefined with:

Any ideas?

Nevermind, the problem was on my end.