diff --git a/cmdline/EosCtaStub.cpp b/cmdline/EosCtaStub.cpp
index ccf05eb125a358475aef3a7820595188e846df63..c0f6ea3cdb41e25fa376dc091528e61589a2451b 100644
--- a/cmdline/EosCtaStub.cpp
+++ b/cmdline/EosCtaStub.cpp
@@ -319,6 +319,7 @@ int exceptionThrowingMain(int argc, const char *const *const argv)
                                           break;
       case Response::RSP_ERR_PROTOBUF:    throw XrdSsiPb::PbException(response.message_txt());
       case Response::RSP_ERR_CTA:         throw std::runtime_error(response.message_txt());
+      case Response::RSP_ERR_USER:        throw std::runtime_error(response.message_txt());
       // ... define other response types in the protocol buffer (e.g. user error)
       default:                            throw XrdSsiPb::PbException("Invalid response type.");
    }
diff --git a/xroot_plugins/messages/cta_frontend.proto b/xroot_plugins/messages/cta_frontend.proto
index 741c97f2f43868b6d2faff60099480918cdf6071..2a643d3962481e3ef1bd05e29e05a5bbd596e7a1 100644
--- a/xroot_plugins/messages/cta_frontend.proto
+++ b/xroot_plugins/messages/cta_frontend.proto
@@ -42,8 +42,8 @@ message Response {
     RSP_INVALID                       = 0;      //< Response type was not set
     RSP_SUCCESS                       = 1;      //< Request is valid and was accepted for processing
     RSP_ERR_PROTOBUF                  = 2;      //< Framework error caused by Google Protocol Buffers layer
-    RSP_ERR_USER                      = 3;      //< User request is invalid
-    RSP_ERR_CTA                       = 4;      //< Server error reported by CTA Frontend
+    RSP_ERR_CTA                       = 3;      //< Server error reported by CTA Frontend
+    RSP_ERR_USER                      = 4;      //< User request is invalid
   }
   ResponseType type                   = 1;      //< Encode the type of this response
   string message_txt                  = 2;      //< Optional response message text