org.rundeck.api.RundeckApiException: Invalid HTTP response 'HTTP/1.1 405 Method Not Allowed' for https://<rundeck-server>/api/9/jobs/import?format=xml

Google Groups | Ranjeeth karthik selvan | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Issue in using import jobs api

    Google Groups | 6 months ago | Ranjeeth karthik selvan
    org.rundeck.api.RundeckApiException: Invalid HTTP response 'HTTP/1.1 405 Method Not Allowed' for https://<rundeck-server>/api/9/jobs/import?format=xml

    Root Cause Analysis

    1. org.rundeck.api.RundeckApiException

      Invalid HTTP response 'HTTP/1.1 405 Method Not Allowed' for https://<rundeck-server>/api/9/jobs/import?format=xml

      at org.rundeck.api.ApiCall.execute()
    2. org.rundeck.api
      RundeckClient.importJobs
      1. org.rundeck.api.ApiCall.execute(ApiCall.java:266)
      2. org.rundeck.api.ApiCall.execute(ApiCall.java:199)
      3. org.rundeck.api.ApiCall.post(ApiCall.java:168)
      4. org.rundeck.api.RundeckClient.importJobs(RundeckClient.java:646)
      5. org.rundeck.api.RundeckClient.importJobs(RundeckClient.java:565)
      6. org.rundeck.api.RundeckClient.importJobs(RundeckClient.java:520)
      6 frames