CMDBuild version 4.0.4
Alfresco version 23.2.0.2
I have manually installed alfresco onto my tomcat instance as per their documentation (Alfresco Docs - Install on Tomcat) and deployed the wars into my webapps folder alongside my ready2use app. I am able to run the server and I can even curl into alfresco and upload a file using the rest endpoints provided, so I know the service is up and running.
I have set up my credentials in the DMS Settings as follows:
The service is up and running:
Then I try to upload an attachment and I get a 422 error:
Has anyone else experienced this issue?
My current theory is that it may have something to do with the folder path formatting as I am running this on windows but I am not sure how I would fix that.
Any help would be appreciated. Thanks!
I used Wireshark to get more info about the 422 error:
Frame 794294: 49 bytes on wire (392 bits), 49 bytes captured (392 bits) on interface \Device\NPF_Loopback, id 0
Null/Loopback
Internet Protocol Version 4, Src: 127.0.0.1, Dst: 127.0.0.1
Hypertext Transfer Protocol, has 2 chunks (including last chunk)
HTTP/1.1 422 \r\n
Response Version: HTTP/1.1
Status Code: 422
[Status Code Description: Unprocessable Entity]
X-Frame-Options: SAMEORIGIN\r\n
Cache-Control: no-cache\r\n
Expires: Thu, 01 Jan 1970 00:00:00 GMT\r\n
Pragma: no-cache\r\n
Content-Type: application/json;charset=UTF-8\r\n
Transfer-Encoding: chunked\r\n
Date: Wed, 01 Oct 2025 19:07:11 GMT\r\n
Keep-Alive: timeout=20\r\n
Connection: keep-alive\r\n
\r\n
[Request in frame: 793820]
[Time since request: 0.106961000 seconds]
[Request URI: /alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children]
[Full request URI: http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children]
…
JavaScript Object Notation: application/json
Object
Member: error
Object
Member: errorKey
[Path with value: /error/errorKey:framework.exception.ApiDefault]
[Member with value: errorKey:framework.exception.ApiDefault]
String value: framework.exception.ApiDefault
Key: errorKey
[Path: /error/errorKey]
Member: statusCode
[Path with value: /error/statusCode:422]
[Member with value: statusCode:422]
Number value: 422
Key: statusCode
[Path: /error/statusCode]
Member: briefSummary
[Path with value […]: /error/briefSummary:09010364 Found 1 integrity violations:\nInvalid property value: \n Node: workspace://SpacesStore/3b0c7e7c-d565-48d2-bcbf-353e4d6b69c6\n Name: \Shared\cmdbuild\CI\Hardware\ServerHW\Server]
[Member with value […]: briefSummary:09010364 Found 1 integrity violations:\nInvalid property value: \n Node: workspace://SpacesStore/3b0c7e7c-d565-48d2-bcbf-353e4d6b69c6\n Name: \Shared\cmdbuild\CI\Hardware\ServerHW\Server\Phy]
String value […]: 09010364 Found 1 integrity violations:\nInvalid property value: \n Node: workspace://SpacesStore/3b0c7e7c-d565-48d2-bcbf-353e4d6b69c6\n Name: \Shared\cmdbuild\CI\Hardware\ServerHW\Server\PhysicalServer\Id351
Key: briefSummary
[Path: /error/briefSummary]
Member: stackTrace
[Path with value: /error/stackTrace:For security reasons the stack trace is no longer displayed, but the property is kept for previous versions]
[Member with value: stackTrace:For security reasons the stack trace is no longer displayed, but the property is kept for previous versions]
String value: For security reasons the stack trace is no longer displayed, but the property is kept for previous versions
Key: stackTrace
[Path: /error/stackTrace]
Member: descriptionURL
[Path with value: /error/descriptionURL:https://api-explorer.alfresco.com]
[Member with value: descriptionURL:https://api-explorer.alfresco.com]
String value: https://api-explorer.alfresco.com
Key: descriptionURL
[Path: /error/descriptionURL]
Key: error
[Path: /error]