Fix fatal error on too large config files at api.post