Python TypeError: must be convertible to a buffer, not OrderedDict

1k Views Asked by At

I have used a Salesforce python package to query the API via SOAP, and it has returned me a base64 serialized ordered dict. How would I go about decoding this to an ordered dictionary?

1

There are 1 best solutions below

1
On

Sounds like you want b64decode, followed by json.loads.