invalid, not valid
Both terms are OK to use, but try to use more specific terms instead.
Global tip Use not valid instead of invalid if possible because machine translation might not translate invalid correctly.
Examples
There are several reasons why a product key might not be valid.
The FileType you specified is too long. The FileType must begin with a period and can be 1 to 64 characters long.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for