Copy document #106

Open
ds160607 opened this Issue Feb 5, 2013 · 0 comments

1 participant

@ds160607

What steps will reproduce the problem?
Try to copy document

What is the expected output? What do you see instead?
org.ektorp.DbAccessException: 405:Method Not Allowed
URI: /qwe/
Response Body:
{
"error" : "method_not_allowed",
"reason" : "Only DELETE,GET,HEAD,POST allowed"
}
at org.ektorp.http.StdResponseHandler.createDbAccessException(StdResponseHandler.java:44)
at org.ektorp.http.StdResponseHandler.error(StdResponseHandler.java:62)
at org.ektorp.http.RestTemplate.handleResponse(RestTemplate.java:110)
at org.ektorp.http.RestTemplate.copy(RestTemplate.java:47)
at org.ektorp.impl.StdCouchDbConnector.copy(StdCouchDbConnector.java:387)
at org.ektorp.impl.StdCouchDbConnector.copy(StdCouchDbConnector.java:380)
at com.servlet.database.copyCouchDoc(database.java:1989)
at com.servlet.database.doPost(database.java:1584)

What version of the product are you using? On what operating system?
1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment