anchor.diff:      Url = str_utils:format_bin("spaces/~s/transfers?state=~s~s~s", [
           Space, State, TokenParam, LimitParam
       ]),
  -    {ok, _, _, Body} = ?assertMatch({ok, 200, _, _}, rest_test_utils:request(
  -        Worker, Url, get, ?USER_1_AUTH_HEADERS(Config), <<>>
  -    )),
  -    ParsedBody = json_utils:decode(Body),
  -    Transfers = maps:get(<<"transfers">>, ParsedBody),
  -    NextPageToken = maps:get(<<"nextPageToken">>, ParsedBody, <<"null">>),
  -    {Transfers, NextPageToken}.
  +    case rest_test_utils:request(Worker, Url, get, ?USER_1_AUTH_HEADERS(Config), <<>>) of
  +        {ok, 200, _, Body} ->
  +            ParsedBody = json_utils:decode(Body),
  +            Transfers = maps:get(<<"transfers">>, ParsedBody),
  +            NextPageToken = maps:get(<<"nextPageToken">>, ParsedBody, <<"null">>),
  +            {ok, {Transfers, NextPageToken}};
  +        {ok, Code, _, Body} ->
  +            {Code, json_utils:decode(Body)}
  +    end.
   
   mock_get_share_on_other_node(OtherProviderNode, SupportingProviderNode, SessId, ShareId) ->
       case OtherProviderNode =/= SupportingProviderNode of
  
positive.code:     lfm_proxy:init(Config2).
  
  end_per_testcase(metric_get = Case, Config) ->
      [_WorkerP2, WorkerP1] = ?config(op_worker_nodes, Config),
      test_utils:mock_validate_and_unload(WorkerP1, rrd_utils),
      end_per_testcase(?DEFAULT_CASE(Case), Config);
  
  end_per_testcase(changes_stream_closed_on_disconnection, Config) ->
  
negative.code:     ?assertMatch(true, length(Ended(P2)) =:= FilesNum, ?ATTEMPTS),
  
      ?assertMatch(AllTransfers, lists:sort(Ended(P1)), ?ATTEMPTS),
      ?assertMatch(AllTransfers, lists:sort(Ended(P2)), ?ATTEMPTS),
  
      AllPrivs = privileges:space_privileges(),
      ErrorForbidden = rest_test_utils:get_rest_error(?ERROR_FORBIDDEN),
  
      % listing transfers without SPACE_VIEW_TRANSFERS privilege should fail
      initializer:testmaster_mock_space_user_privileges(Workers, <<"space4">>, <<"user1">>, AllPrivs -- [?SPACE_VIEW_TRANSFERS]),
      ?assertMatch(ErrorForbidden, Ended(P1), ?ATTEMPTS),
      ?assertMatch(ErrorForbidden, Ended(P2), ?ATTEMPTS).
  
  track_transferred_files(Config) ->
      [Provider1, Provider2] = ?config(op_worker_nodes, Config),
  