noun
syntax error
Computing term for an error caused by code or input that violates the grammatical rules of a programming or markup language.
プログラムをコンパイルしたら、構文エラーが出た。
When I compiled the program, a syntax error occurred.
文法エラー can also mean 'grammar error' in a linguistic sense, while 構文エラー is strictly a computing term for syntactic errors in code.
Compound of 構文 (syntax) and エラー (error), a straightforward modern technical term.