"I want to upload documents to Alfresco, precisely on xnet (my company's Alfresco instance). However, I'm encountering this error:
org.bonitasoft.engine.commons.exceptions.SBonitaRuntimeException: org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Redirects are not supported (HTTP status code 302): Found
at org.bonitasoft.engine.connector.impl.ConnectorExecutorImpl.lambda$execute$0(ConnectorExecutorImpl.java:159)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Redirects are not supported (HTTP status code 302): Found
Despite following the documentation on the Bonitasoft website (https://documentation.bonitasoft.com/bonita/latest/process/cmis#_example_creating_a_folder_on_alfresco), I still encountered this error.
The URL for the AtomPub that I used is as follows: https://xnet.bluexml.com//alfresco/api/-default-/public/cmis/versions/1.1/atom/"