Working as Expected
Platform / Lightning Framework
Database.getUpdated() apex method throws INVALID_SESSION_ID error when invoked from LWC
Summary
Invoking Database.getUpdated() apex method from LWC component will throw the following error "INVALID_SESSION_ID: This session is not valid for use with the API" in the customer's org.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Working as Expected with 3 reports
Nov 30, 2026