4778: APIError: You don't have permission for this (HTTP 403, API Error 101)

glogar

What version of Review Board are you running?

3.0.11

What version of Review Bot are you running?

1.0.1

What tool(s) is Review Bot running?

cppcheck

What is the expected output? What do you see instead?

2019-01-04 14:28:51,427: ERROR/Worker-4] reviewbot.tasks.RunTool[64e113d3-a10e-470c-982a-0ae36a853ce8]: Unable to create status update: You don't have permission for this (HTTP 403, API Error 101) (server=http://ed-rb.something.local/, review_request_id=24, diff_revision=5)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/reviewbot/tasks.py", line 139, in RunTool
status_update_id=status_update_id)
File "/usr/lib/python2.7/site-packages/rbtools/api/resource.py", line 537, in <lambda>
self._get_template_request(url, kwargs)))
File "/usr/lib/python2.7/site-packages/rbtools/api/decorators.py", line 27, in request_method
*args,
kwargs)
File "/usr/lib/python2.7/site-packages/rbtools/api/transport/sync.py", line 77, in execute_request_method
return self._execute_request(request)
File "/usr/lib/python2.7/site-packages/rbtools/api/transport/sync.py", line 86, in _execute_request
rsp = self.server.make_request(request)
File "/usr/lib/python2.7/site-packages/rbtools/api/request.py", line 603, in make_request
self.process_error(e.code, e.read())
File "/usr/lib/python2.7/site-packages/rbtools/api/request.py", line 577, in process_error
rsp['err']['msg'])
APIError: You don't have permission for this (HTTP 403, API Error 101)

Please provide any additional information below.

I try to run reviewbot worker under diferent users and also root user and every time i publish review i got mention error.

Setup:
RBTools 1.0.1
ReviewBot 1.0.1
ReviewBoard 3.0.11
RB Gateway 1.0
git version 2.19.0
cppcheck 1.86-1.el7
Python 2.7.5 (default, Oct 30 2018, 23:45:53)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
Linux-3.10.0-957.1.3.el7.x86_64-x86_64-with-centos-7.6.1810-Core

glogar
#1 glogar

I found the solution.
Newly created user Review Bot need to have user privileges to a targeted project.