From dd2091d8529689a07a1368d08e7770574ba2b0ee Mon Sep 17 00:00:00 2001 From: Hitenjain14 Date: Tue, 15 Aug 2023 19:52:33 +0530 Subject: [PATCH] fix err msg --- .../0chain.net/blobbercore/handler/object_operation_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/go/0chain.net/blobbercore/handler/object_operation_handler.go b/code/go/0chain.net/blobbercore/handler/object_operation_handler.go index 7429cd3b2..7d126e01a 100644 --- a/code/go/0chain.net/blobbercore/handler/object_operation_handler.go +++ b/code/go/0chain.net/blobbercore/handler/object_operation_handler.go @@ -1233,7 +1233,7 @@ func (fsh *StorageHandler) WriteFile(ctx context.Context, r *http.Request) (*blo reqWg.Wait() if reqError != nil { - return nil, common.NewError("req_parse_form_error", "Error in parsing form data "+reqError.Error()) + return nil, common.NewError("invalid_parameters", "Error Reading multi parts for file."+reqError.Error()) } err = cmd.IsValidated(ctx, r, allocationObj, clientID)