JSON::GeneratorError: Invalid Unicode [83 52 83 73 81] at 19
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
https://new-sentry.gitlab.net/organizations/gitlab/issues/482416
EncodingError: Invalid Unicode [83 52 83 73 81] at 19
lib/gitlab/json.rb:130:in `dump'
Oj.dump(object, opts)
lib/gitlab/json.rb:130:in `adapter_dump'
Oj.dump(object, opts)
lib/gitlab/json.rb:52:in `dump'
adapter_dump(object)
lib/gitlab/json.rb:266:in `stringify'
Gitlab::Json.dump(jsonified)
app/controllers/application_controller.rb:142:in `render'
super.tap do
...
(179 additional frame(s) were not displayed)
JSON::GeneratorError: Invalid Unicode [83 52 83 73 81] at 19
lib/gitlab/json.rb:270:in `rescue in stringify'
raise JSON::GeneratorError, ex
lib/gitlab/json.rb:265:in `stringify'
def stringify(jsonified)
app/controllers/application_controller.rb:142:in `render'
super.tap do
app/controllers/projects/refs_controller.rb:64:in `block (2 levels) in logs_tree'
render json: logs
app/controllers/projects/refs_controller.rb:58:in `logs_tree'
respond_to do |format|
...
(177 additional frame(s) were not displayed)
How to reproduce
https://gitlab.com/scmaps.net/starcraft_brood_war_maps_archive/-/refs/master/logs_tree/__Z__?format=json&offset=100
It's a public project, we can clone it and check what is wrong with the JSON.
How to reproduce (another option)
Edited by 🤖 GitLab Bot 🤖