Repositories query (2.0 API) returns error 'need more than 1 value to unpack' for full_name ~ contains query

Issue #14768 new
Quinn Slack created an issue

If I try to perform a "full_name contains" query with a string that does NOT contain a slash (/), I get a Python error from the Bitbucket API:

$ export BB_PASSWORD=an-app-password-i-just-generated
$ curl -u sqs:$BB_PASSWORD '"private"'
{"type": "error", "error": {"message": "need more than 1 value to unpack", "id": "ebd11aa761d44cffbe9b56e7a75ac407"}}

The following queries do work:

  • full_name ~ "sqs/private" (when the query string contains a slash)
  • name ~ "private"

I would like to be able to perform a "full_name contains" query so that my query will match over both team and name fields, so it can show as-you-type results better.

Comments (1)

  1. Bo Lopker

    I'm also getting this error with a similar query. Trying to make an Alfred plugin that works like the quick find menu on

    curl --user blopker:APP_PASSWORD '"notify"&role=member'

  2. Log in to comment