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

Operational Error while Upserting Document

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.2.0, 3.1.3
    • None
    • None
    • 1

    Description

      Hi,

      While trying to upgrade the Python SDK on the playground & testing the existing examples , I found that I was getting an Operational Error while trying to upsert a document. The playground is running Couchbase Server 7.0.0-4602-enterprise. 

      I got the same behaviour on my local machine with Couchbase Server Community Edition 7.0.0 build 4602. This is the same with the key existing as well. 

      Error

      exception: (<class 'couchbase.exceptions.CouchbaseException'>, CouchbaseException({'rc': 1031, 'message': 'Operational Error', 'key': 'airline_123', 'error_context':

      {'status_code': 4, 'opaque': 0, 'cas': 0, 'key': 'airline_123', 'bucket': 'travel-sample', 'collection': '_default', 'scope': '_default', 'context': 'Invalid encoding in FrameExtras', 'ref': '', 'endpoint': '127.0.0.1:11210', 'type': 'KVErrorContext'}

      , 'csrc_info': ('src/multiresult.c', 316)}), <traceback object at 0x103b98f80>)}

      exception: <class 'couchbase.exceptions.DocumentNotFoundException'>

      Example code is attached. 

      Has something changed? The same code works with SDK 3.0.1 on the playground. 

       

      Attachments

        Issue Links

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

          Activity

            People

              jared.casey Jared Casey
              nithish.raghunandanan Nithish Raghunandanan
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty