Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8100
The 'await' operator cannot be used in a static script variable initializer.