org.zaproxy.clientapi.core.ClientApiException: The provided url is not in the required context

GitHub | mabdelmoez | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    contextName = "context1"; leads to incorrect API calls within the session

    GitHub | 7 months ago | mabdelmoez
    org.zaproxy.clientapi.core.ClientApiException: The provided url is not in the required context
  2. 0

    Zaproxy error while running Authenticated Active scan through Jenkins

    Google Groups | 12 months ago | Jeyakumar S
    org.zaproxy.clientapi.core.ClientApiException: The provided url is not in the required context
  3. 0

    Client API - Unexpected behavior of zapClientAPI.context.includeInContext in a Loaded Session

    GitHub | 7 months ago | mabdelmoez
    org.zaproxy.clientapi.core.ClientApiException: The provided url is not in the required context
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.zaproxy.clientapi.core.ClientApiException

      The provided url is not in the required context

      at org.zaproxy.clientapi.core.ApiResponseFactory.getResponse()
    2. org.zaproxy.clientapi
      Spider.scanAsUser
      1. org.zaproxy.clientapi.core.ApiResponseFactory.getResponse(ApiResponseFactory.java:32)
      2. org.zaproxy.clientapi.core.ClientApi.callApi(ClientApi.java:290)
      3. org.zaproxy.clientapi.gen.Spider.scanAsUser(Spider.java:239)
      3 frames
    3. fr.novia.zaproxyplugin
      ZAProxyBuilder$ZAProxyCallable.invoke
      1. fr.novia.zaproxyplugin.ZAProxy.spiderURLAsUser(ZAProxy.java:1834)
      2. fr.novia.zaproxyplugin.ZAProxy.executeZAP(ZAProxy.java:1334)
      3. fr.novia.zaproxyplugin.ZAProxyBuilder$ZAProxyCallable.invoke(ZAProxyBuilder.java:395)
      4. fr.novia.zaproxyplugin.ZAProxyBuilder$ZAProxyCallable.invoke(ZAProxyBuilder.java:381)
      4 frames
    4. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:1018)
      2. hudson.FilePath.act(FilePath.java:996)
      2 frames
    5. fr.novia.zaproxyplugin
      ZAProxyBuilder.perform
      1. fr.novia.zaproxyplugin.ZAProxyBuilder.perform(ZAProxyBuilder.java:200)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      3. hudson.model.Build$BuildExecution.build(Build.java:205)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:162)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      6. hudson.model.Run.execute(Run.java:1720)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:404)
      9 frames