Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

XML-RPC RemoteException

mohit mathur May 25, 2015

Trying to execute the code (http://blogs.atlassian.com/2011/12/scanning-confluence-for-content-errors/) . This code scans confluence space for content errors. 

Error is coming when getPages(token, conf_space) method is called to get pages of the confluence space.

Error :

Traceback (most recent call last):

File "BustedStuffReport.py", line 129, in <module>
spaceindex = s.getPages(token, conf_space)
File "C:\Python27\lib\xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "C:\Python27\lib\xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "C:\Python27\lib\xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "C:\Python27\lib\xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
File "C:\Python27\lib\xmlrpclib.py", line 1473, in parse_response
return u.close()
File "C:\Python27\lib\xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 0: "java.lang.Exception: com.atlassian.confluence.rpc.RemoteException: You're not allowed to view that space, or it does not exist.">

 

 

 

1 answer

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 26, 2015

You're not allowed to view that space, or it does not exist

Make sure that the user that you are using has permission to all spaces.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events