Hi @chappie1998!
Support for the contractMaxSize field was added as part of our upcoming beta-5 support endeavor. Which version of the SDK are you using? If you are targeting our beta-4 network you should be using fuels version 0.69.1 as that is the last one that supports beta-4. All newer versions of the SDK only support beta-5.