Improved Data Validation and Conversion for Apex Method Parameters
Where: This change applies to orgs with Lightning components in Lightning Experience, Salesforce Classic, and all versions of the Salesforce app.
How: We improved conversion of data for these Apex types:
If you pass data that doesn’t conform to the type expected by an Apex method parameter, you get a detailed error message instead of a generic error message. The error message looks like:
Value provided is invalid for action parameter apexParamName of type 'apexDataType'