anchor.diff:  		false ->
   			InvalidParams = [#{param => "{" ++ RatingDataRef ++ "}",
   					reason => "Unknown rating data reference"}],
  -			Problem = error_response(unknown_ref, InvalidParams),
  +			Problem = rest_error_response(unknown_ref, InvalidParams),
  +			error_logger:warning_report(["Unable to process DIAMETER Nrf request",
  +					{RatingDataRef, ratingDataRef}, {request, NrfRequest},
  +					{error, unknown_ref}]),
   			{error, 404, Problem};
  -		{error, _Reason} ->
  +		{error, Reason} ->
  +			error_logger:warning_report(["Unable to process DIAMETER Nrf request",
  +					{RatingDataRef, ratingDataRef}, {request, NrfRequest},
  +					{error, Reason}]),
   			{error, 500}
   	end.
   release_nrf1(RatingDataRef, NrfRequest) ->
  
positive.code: 			ok = ocs_log:acct_log(diameter, server(),
  					start, LogRequest, LogResponse, undefined),
  			{ok, Headers, ReponseBody};
  		{error, StatusCode, Problem1} ->
  			{error, StatusCode, Problem1};
  		{error, Reason1} ->
  			error_logger:warning_report(["Unable to process DIAMETER Nrf request",
  					{RatingDataRef, ratingDataRef}, {request, NrfRequest},
  					{error, Reason1}]),
  			{error, 500}
  	catch
  		?CATCH_STACK ->
  			?SET_STACK,
  			error_logger:warning_report(["Unable to process DIAMETER Nrf request",
  					{RatingDataRef, ratingDataRef}, {request, NrfRequest},
  					{error, Reason1}, {stack, StackTrace}]),
  			{error, 500}
  	end.
  
negative.code: 			'Destination-Realm' = <<"asia-east1-b.c.sigscale-ocs.internal">>,
  			'Auth-Application-Id' = ?RO_APPLICATION_ID,
  			'Service-Context-Id' = SCI,
  			'CC-Request-Type' = event_type(RequestType),
  			'CC-Request-Number' = RequestNum,
  			'User-Name' = [list_to_binary(get_subscriber(SubscriptionIds))],
  			'Event-Timestamp' = calendar:universal_time(),
  			'Subscription-Id' = format_sub_ids(SubscriptionIds)}.
  
  -spec diameter_reply(RatingDataRef, RequestType, NrfReply) -> DiameterReply
  	when
  		RatingDataRef :: string(),
  		RequestType :: initial | interim | final | event,
  		NrfReply :: map(),
  		DiameterReply :: #'3gpp_ro_CCA'{}.
  %% @doc Convert a Nrf Resply map() to a #'3gpp_ro_CCA'{}.
  diameter_reply(RatingDataRef, RequestType, #{"invocationSequenceNumber" := RequestNum,
  