Tagging S3 bucket object Issue

I am trying to add tags to existing object in S3 bucket using Lambda. Lambda has IAM role permission to add tags to bucket object, however simple python code to get_object_tagging is working but put_object_tagging is not working. client = boto3.client("s3") tagresponse = client.put_object_tagging( Bucket="mybucket, Key="folder1/Test.txt", Tagging={‘TagSet’:[{‘key’:’:permission:allowdownload’,’Value’:’no’},{‘key’:’service:feature’,’Value’:’sftpfiletransfer’}]}, ) API response is throwing this error: Parameter… Read More Tagging S3 bucket object Issue