skip to Main Content

How to sort output before writing to JSON

I have a problem with sorting data. When I use the json_dic.sort(key= lambda x: x['lastLogonTimestamp'], reverse= False) command I get an error TypeError: '<' not supported between instances of 'str' and 'list'. When I checked the output with the type()…

VIEW QUESTION

Azure blob shared key creation 403 error getting

I wanted to create Azure blob container using python code using shared key Authorization, I am getting below error: b'xefxbbxbf<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.nRequestId:9e524b5e-301e-0051-4aa4-45750000nTime:2023-02-21T03:27:02.8384023Z</Message><AuthenticationErrorDetail>The…

VIEW QUESTION
Back To Top
Search