diff --git a/daprdocs/content/en/developing-applications/building-blocks/state-management/howto-get-save-state.md b/daprdocs/content/en/developing-applications/building-blocks/state-management/howto-get-save-state.md index 143fa2db4..e40eb7995 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/state-management/howto-get-save-state.md +++ b/daprdocs/content/en/developing-applications/building-blocks/state-management/howto-get-save-state.md @@ -195,7 +195,7 @@ while True: #Using Dapr SDK to save and get state client.save_state(DAPR_STORE_NAME, "order_1", str(orderId)) result = client.get_state(DAPR_STORE_NAME, "order_1") - logging.info('Result after get: ' + str(result)) + logging.info('Result after get: ' + result.data.decode('utf-8')) ``` Navigate to the directory containing the above code, then run the following command to launch a Dapr sidecar and run the application: