Details
-
Bug
-
Resolution: Fixed
-
High
-
None
-
Severity 3 - Minor
-
8,471
-
6
-
Description
Issue Summary
- When searching on Code search for any specific string, sometimes, the search returns a json parsing error:
{ "type": "error", "error": { "message": "Expecting value: line 1 column 1 (char 0)" } }
- This issue does not affect all users, meaning one user could be facing this issue searching for code and another one might not face it;
Steps to Reproduce
- Open your workspace;
- Click on the search icon to search for code on your workspace
Expected Results
- Code search should return the results of your query;
Actual Results
- Code search is failing with a Json parsing issue;
Workaround
- As a workaround it is possible to use our REST API to fetch this information:
$ Curl -X GET "https://api.bitbucket.org/2.0/teams/<workspace>/search/code?search_query=<query>"