That's for the server side message. Client side should be erroring before server side is reached. Client side uses the following.
Key: INVALID_FILE_EXTENSION_PLEASE_UPLOAD_ONLY_0_7d7e70
String:
Code:
Invalid file extension. Please upload only {0}!
Are you sure it's the server side message you're seeing?