Using the Deploy API in order to download a backup of an environment

0
I am trying to utilize the deploy API in order to download a back up of an environment. The rest service application has been configured according to the documentation for the API, However, i keep getting an "unable to find valid certification path to requested target". Does this have something to do with my access rights to the desired environment, or simply configuration issues. Unfortunately, i am struggling to find any documentation on successfully calling and receiving a response using the deploy API.   Here is the request url – HTTP Method: GET URL: https://deploy.mendix.com/api/1/apps/<AppId>/environments/<Mode>/snapshots/<SnapshotId> Here is a snippet of the error message –  com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: Error calling REST service     at DBDownloader.ACT_Call_Rest (CallRest : 'Call REST (GET)') Advanced stacktrace:     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389) Caused by: com.mendix.modules.microflowengine.MicroflowException: Error calling REST service     at DBDownloader.ACT_Call_Rest (CallRest : 'Call REST (GET)') Advanced stacktrace:     at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:57) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target     at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:15) Caused by: java.security.PrivilegedActionException: null     at java.security.AccessController.doPrivileged(Native Method)     at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:11)     at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:18)     at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:66)     at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:52)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)     at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:150)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:383)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:398)   Any information on how to properly make use of the deploy api or further documentation would be greatly appreciated 
asked
0 answers