com.atlassian.confluence.api.service.exceptions.BadRequestException: Unable to execute function 'currentSpace', the required contexts were not present : space

Atlassian JIRA | Steve Lancashire [Atlassian] | 2 years ago

    Root Cause Analysis

    1. com.atlassian.confluence.api.service.exceptions.BadRequestException

      Unable to execute function 'currentSpace', the required contexts were not present : space

      at com.atlassian.confluence.plugins.cql.impl.QueryExceptionMapper.mapToServiceException()
    2. com.atlassian.confluence
      CQLMetaDataResource.getExpressions
      1. com.atlassian.confluence.plugins.cql.impl.QueryExceptionMapper.mapToServiceException(QueryExceptionMapper.java:11)
      2. com.atlassian.confluence.plugins.cql.rest.DefaultCQLMetaDataService.parseExpressions(DefaultCQLMetaDataService.java:69)
      3. com.atlassian.confluence.plugins.cql.rest.CQLMetaDataResource.getExpressions(CQLMetaDataResource.java:72)
      3 frames
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame