Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3625 by Can't create a repository via REST API 2.0

What version are you running?


What's the URL of the page containing the problem?

POST /api/repositories/

What steps will reproduce the problem?

1. try to create a repository via REST API 2.0 with already used path

```curl -X POST -H 'Cookie: rbsessionid=<session-cookie>' -F 'name=testrepo' -F 'tool=Git' -F '' https://review.localhost/api/repositories/```

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

an error message like in GUI "A repository with this path already exists"

but I receive 500 Internal Server Error response, and in logs I can see:

File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.6-py2.6.egg/reviewboard/webapi/resources/", line 358, in create
    e.params['field']: e.message,
AttributeError: 'ValidationError' object has no attribute 'params'

What operating system are you using? What browser?


You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to