Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1603

Requests are being passed instead of sending SDK_INVALID_ARGUMENT_EXCEPTION

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3.0
    • None
    • None
    • None
    • 1

    Description

      Below is the list of requests that are being forwarded by SDKs to server (ideally, should not), with their respective Java error messages (They will be quite helpful while debugging):

      1. VectorSearchBase64Test.vectorQueryWithoutFieldNameThrowInvalidArgument

      elapsedNanos: 15115583
      initiated {
        seconds: 1717689892
        nanos: 974000000
      }
      sdk {
        exception {
          couchbase {
            name: "InvalidArgumentException"
            type: SDK_INVALID_ARGUMENT_EXCEPTION
            serialized: "com.couchbase.client.core.error.InvalidArgumentException: Field cannot be null or empty"
          }
        }
      }
       

      2. VectorSearchTest.emptySearchRequestThrowInvalidArgument

      elapsedNanos: 48000
      initiated {
        seconds: 1717691088
        nanos: 865000000
      }
      sdk {
        exception {
          couchbase {
            name: "InvalidArgumentException"
            type: SDK_INVALID_ARGUMENT_EXCEPTION
            serialized: "com.couchbase.client.core.error.InvalidArgumentException: At least one of searchQuery and vectorSearch must be specified"
          }
        }
      }
      

      3. VectorSearchTest.vectorQueryWithoutFieldNameThrowInvalidArgument

      elapsedNanos: 653000
      initiated {
        seconds: 1717690548
        nanos: 198000000
      }
      sdk {
        exception {
          couchbase {
            name: "InvalidArgumentException"
            type: SDK_INVALID_ARGUMENT_EXCEPTION
            serialized: "com.couchbase.client.core.error.InvalidArgumentException: Field cannot be null or empty"
          }
        }
      }

      FIT patch that has these tests: https://review.couchbase.org/c/transactions-fit-performer/+/210629

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jared.casey Jared Casey
            aaliya.haque Aaliya Haque
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty