Python SDK Tips

Hello All,

I’m working on creating a lambda function to reset passwords using the SDK. I have managed to get the dependencies built and running but I am running into issues getting data back from Couchbase in JSON.

This is the error I continually get
{
“errorMessage”: “Unable to marshal response: Object of type RawUserAndMetadata is not JSON serializable”,
“errorType”: “Runtime.MarshalError”
}
It returns this data type - is there any way I can serialize this data into JSON? I ran into issues when using the JSON package.

Any tips would be appreciated - also the Python 3 SDK seems to be missing anything regarding User Management