Lesstep
Bitbucket Cloud · pull request reviewers · Checked November 10, 2026

Bitbucket Cloud: "reviewers: Malformed reviewers list"

Bitbucket Cloud answers 400 with {"type": "error", "error": {"fields": {"reviewers": ["Malformed reviewers list"]}, "message": "reviewers: Malformed reviewers list"}}. The JSON is not what is wrong. Someone on the reviewers list can't be on a pull request, most often because the account was deactivated: that is what Atlassian found when a user asked (a community question, 2020), and a clearer message is still only a suggestion (BCLOUD-20266). An update sends the reviewers back with it, so once a reviewer has left, even changing the title or description fails, until that reviewer is taken off (BCLOUD-23093).

What Bitbucket says under reviewers

Bitbucket Data Center answers 409 with InvalidPullRequestReviewersException instead, and names each reviewer it refuses (creating from the command line).

In the IDE: Pull Request Inbox for Bitbucket, a plugin for JetBrains IDEs, creates the pull request without the reviewers when Bitbucket refuses someone among them, and gives Bitbucket's reason in a warning; from 1.0.61, an edit refused this way goes through without the deactivated reviewers, and a warning names them.

Find the reviewer

List the reviewers of the pull request, then ask about each uuid. A uuid comes with its braces; -g keeps curl from reading them as a pattern.

curl -s -u "you@example.com:$BITBUCKET_API_TOKEN" \
  https://api.bitbucket.org/2.0/repositories/{workspace}/{repo}/pullrequests/{id} | jq -r '.reviewers[] | .uuid + " " + .display_name'

curl -s -g -u "you@example.com:$BITBUCKET_API_TOKEN" \
  "https://api.bitbucket.org/2.0/users/{uuid}?fields=display_name,account_status"

curl -s -g -o /dev/null -w "%{http_code}\n" -u "you@example.com:$BITBUCKET_API_TOKEN" \
  https://api.bitbucket.org/2.0/workspaces/{workspace}/members/{uuid}

"account_status": "inactive" is the deactivated account. The last call answers 200 for a member of the workspace and 404 for someone who is not one. The token needs to read pull requests, accounts and the workspace (which scopes).

Then

  1. Take that reviewer off. On the web page, edit the pull request and remove them from Reviewers; through the API, send the list without them. Updates then go through again, which is Atlassian's workaround in BCLOUD-23093.
  2. If they should still review, they need an active account in the workspace again. That is for an admin of the workspace, or of the organization for managed accounts.
  3. Send people by uuid: "reviewers": [{"uuid": "{…}"}]. A nickname, as in the 2019 question, is not taken.
  4. Look at the default reviewers. If the person is among the repository's or the project's default reviewers, remove them there as well, so new pull requests don't start with them (default reviewers).

Bitbucket pull requests in IntelliJ IDEA

Pull Request Inbox for Bitbucket, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the pull requests that wait for your review in an IDE tool window, with their diffs and discussions. A pull request created in the plugin gets the reviewers you pick and the repository's default reviewers, without you; if Bitbucket refuses someone among them, the pull request is created without them and a warning gives Bitbucket's reason. From 1.0.61, an edit that Cloud refuses this way (the title and description, adding reviewers, marking a draft ready) is sent again without the deactivated reviewers, as Atlassian advises, and a warning names them; other refusals show Bitbucket's own message in an IDE notification instead of a general error. The review inbox, diffs and discussions are free; creating pull requests, adding reviewers, editing and approving are Pro, with a 30-day trial. It also works with Bitbucket Data Center (beta).

Get it on JetBrains Marketplace

Bitbucket and Atlassian are trademarks of Atlassian; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by Atlassian or JetBrains.

More: Default reviewers · Draft pull requests · Create a pull request from the command line · 日本語