floci-io/floci · error · AwsException

InvalidParameterValueException

InvalidParameterValueException

Error message

ReservedConcurrentExecutions must be an integer

What it means

Error "ReservedConcurrentExecutions must be an integer" thrown in floci-io/floci.

Source

Thrown at src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1712

        configRequest.put("EphemeralStorage", resolveMapOrDefault(props, "EphemeralStorage", engine,
                Map.of("Size", LAMBDA_DEFAULT_EPHEMERAL_STORAGE_MB)));
        configRequest.put("TracingConfig", resolveMapOrDefault(props, "TracingConfig", engine,
                Map.of("Mode", LAMBDA_DEFAULT_TRACING_MODE)));
        configRequest.put("DeadLetterConfig", resolveMapOrDefault(props, "DeadLetterConfig", engine,
                mapWithNullValue("TargetArn")));
        configRequest.put("VpcConfig", resolveMapOrDefault(props, "VpcConfig", engine, Map.of()));
        configRequest.put("FileSystemConfigs",
                resolveObjectListOrEmpty(props, "FileSystemConfigs", engine));
        putResolvedMapIfPresent(configRequest, props, "ImageConfig", "ImageConfig", engine);

        createRequest.putAll(configRequest);
        Integer reservedConcurrentExecutions = null;
        String reserved = resolveOptional(props, "ReservedConcurrentExecutions", engine);
        if (reserved != null) {
            try {
                reservedConcurrentExecutions = Integer.parseInt(reserved);
            } catch (NumberFormatException ignored) {
                throw new AwsException("InvalidParameterValueException",
                        "ReservedConcurrentExecutions must be an integer", 400);
            }
        }

        return new LambdaDesiredState(functionName, hasExplicitName, packageType,
                createRequest, code, configRequest, props != null && props.has("ReservedConcurrentExecutions"),
                reservedConcurrentExecutions);
    }

    private LambdaCodeSpec resolveLambdaCode(JsonNode props, CloudFormationTemplateEngine engine,
                                             String handler, String runtime) {
        if (props != null && props.has("Code")) {
            JsonNode codeNode = engine.resolveNode(props.get("Code"));

            String s3Bucket = codeNode.path("S3Bucket").asText(null);
            String s3Key = codeNode.path("S3Key").asText(null);
            if (s3Bucket != null && s3Key != null) {
                try {

View on GitHub (pinned to 62ff490619)

Solutions

  1. Set ReservedConcurrentExecutions to an integer value in the template.

When it happens

Trigger: Thrown at src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationResourceProvisioner.java:1712 when the library encounters an invalid state.

Common situations: Occurs when a CloudFormation Lambda ReservedConcurrentExecutions property is not an integer. Set the property to a whole number.


AI-assisted analysis of floci-io/floci@62ff490619 (2026-08-14). Data as JSON: /api/errors/10020aabbf078aae. Report an issue: GitHub.