Accepting an answer returns error.answer.not_found in Apache Answer v2.0.1

Viewed 7

I'm using Apache Answer v2.0.1. I can create questions and answers successfully, and the answer is displayed on the question page.

However, when I click Accept on an answer, I receive the following error popup:

Answer do not found.

The browser's Network tab shows:

Request

POST /answer/api/v1/answer/acceptance
Payload:

{
  "question_id": "D132",
  "answer_id": "E142"
}
Response:

{
  "code": 400,
  "reason": "error.answer.not_found",
  "msg": "Answer do not found.",
  "data": null
}

Additional information:

Apache Answer version: v2.0.1
The answer is visible on the page.
The answer table contains the corresponding answer records with numeric IDs.

when I check the database, the question_id and the id is in numerical form

10020000000000003
10010000000000002

1 Answers

This issue was fixed in version 2.0.2