Strapi v4.2.0 second beta for TypeScript support

We are using strapi 3.6.0 but constantly getting 502 bad gateway error