{"record":{"id":"f1818a8b242e691a","repo":"floci-io/floci","slug":"internalfailure","errorCode":"InternalFailure","errorMessage":"Failed to serialize CloudControl resource properties.","messagePattern":"Failed to serialize CloudControl resource properties\\.","errorType":"exception","errorClass":"AwsException","httpStatus":500,"severity":"error","filePath":"src/main/java/io/github/hectorvent/floci/services/cloudcontrol/CloudControlService.java","lineNumber":415,"sourceCode":"    }\n\n    private List<ResourceDescription> users() {\n        List<ResourceDescription> resources = new ArrayList<>();\n        for (IamUser user : iamService.listUsers(\"/\")) {\n            ObjectNode properties = mapper.createObjectNode();\n            properties.put(\"Arn\", user.getArn());\n            properties.put(\"UserName\", user.getUserName());\n            properties.put(\"Path\", user.getPath());\n            resources.add(new ResourceDescription(user.getUserName(), propertiesString(properties)));\n        }\n        return resources;\n    }\n\n    private String propertiesString(ObjectNode properties) {\n        try {\n            return mapper.writeValueAsString(properties);\n        } catch (JsonProcessingException e) {\n            throw new AwsException(\"InternalFailure\",\n                    \"Failed to serialize CloudControl resource properties.\", 500);\n        }\n    }\n\n    private void addTags(ObjectNode properties, List<Tag> tags) {\n        if (tags == null || tags.isEmpty()) {\n            return;\n        }\n        List<Tag> validTags = tags.stream()\n                .filter(tag -> tag != null && tag.getKey() != null && !tag.getKey().isBlank())\n                .toList();\n        if (validTags.isEmpty()) {\n            return;\n        }\n        var tagArray = properties.putArray(\"Tags\");\n        for (Tag tag : validTags) {\n            tagArray.addObject()\n                    .put(\"Key\", tag.getKey())","sourceCodeStart":397,"sourceCodeEnd":433,"githubUrl":"https://github.com/floci-io/floci/blob/62ff490619e7bd3554597c28c704081b4c15add5/src/main/java/io/github/hectorvent/floci/services/cloudcontrol/CloudControlService.java#L397-L433","documentation":"Error \"Failed to serialize CloudControl resource properties.\" thrown in floci-io/floci.","triggerScenarios":"Thrown at src/main/java/io/github/hectorvent/floci/services/cloudcontrol/CloudControlService.java:415 when the library encounters an invalid state.","commonSituations":"Occurs when resource properties contain values that cannot be serialized to JSON. Ensure the desired state is valid JSON-serializable data.","solutions":["Ensure the resource properties are JSON-serializable; check the server log for the underlying Jackson error."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"62ff490619e7bd3554597c28c704081b4c15add5","analyzedAt":"2026-08-14T14:25:23.764Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}