Announcements
This error just started happening. This code hasn't change in months and I don't get the error in dev mode or using monitor tool. It only happens when openning the app. I am not sure how to find where the error is occuring.
Error below.
Office365Users.UserProfile failed: The function 'UserProfile' has an invalid value for parameter 'userId' - a blank value was passed to it where it was not expected. Please make sure that a valid argument is passed to the function.
Hi @jbungay ,
Please share (in Text) the code that is causing this.
I have no idea, it does not happen in edit mode. Only in production. The monitor is connected the error doesn't happen.
@jbungay ,
A bit hard to help you without seeing the code that is causing the issue. It will refer to Office365Users.UserProfile, so maybe search for that.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 396 Most Valuable Professional
11manish 134 Super User 2026 Season 2
MS.Ragavendar 101 Super User 2026 Season 2