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

GitHub | mabdelmoez | 4 months ago
  1. 0

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

    GitHub | 4 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 | 9 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 | 4 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

  5. 0

    Authentication Script: Zest failure

    GitHub | 4 months ago | mabdelmoez
    org.zaproxy.clientapi.core.ClientApiException: An error has occurred when loading the provided script
  6. 0

    ApiException while handling API request: URL Not Found in the Scan Tree (url_not_found)

    Google Groups | 7 months ago | Prakhash Sivakumar
    org.zaproxy.clientapi.core.ClientApiException: URL Not > > Found in the Scan Tree at > > org.zaproxy.clientapi.core.ApiResponseFactory.getResponse(Unknown > > Source) at org.zaproxy.clientapi.core.ClientApi.callApi(Unknown > > Source) at org.zaproxy.clientapi.gen.Ascan.scanAsUser(Unknown > Source) at > > fr.novia.zaproxyplugin.ZAProxy.scanURLAsUser(ZAProxy.java:1705) at > > fr.novia.zaproxyplugin.ZAProxy.executeZAP(ZAProxy.java:1176) at > > > fr.novia.zaproxyplugin.ZAProxyBuilder$ZAProxyCallable.invoke(ZAProxyBuilder.java:395) > > > at > > > fr.novia.zaproxyplugin.ZAProxyBuilder$ZAProxyCallable.invoke(ZAProxyBuilder.java:381) > > >

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    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