question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NoSuchTagSet when calling the GetBucketTagging operation

See original GitHub issue

I have a bucket without any tags which results in the error when trying to list them.

  File "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 310, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 395, in _make_api_call
    raise ClientError(parsed_response, operation_name)
ClientError: An error occurred (NoSuchTagSet) when calling the GetBucketTagging operation: The TagSet does not exist

I’d expect it to return just an empty tag set like most other methods do.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rayluocommented, Feb 23, 2016

So to document the off-line conversation.

  • This is not a bug. And we are not going to change the low level client API behavior.
  • It is still possible to do something in the higher level, probably something similar to waiters. This is considered as a feature request.
1reaction
jameslscommented, Feb 19, 2016

Can we clarify whether we are taking about clients or resources? The original traceback didn’t suggest resources, but @kyleknap’s comments are using resources.

I agree that we shouldn’t change the low level client API, but I still think at a high level, we should try to improve what we have in the resource model, especially if it’s something we can model with some changes to the resource spec.

I definitely understand the customer request to succinctly get a set of tags, modify them, and update the bucket with the new tags. I’m in favor of making that easier to do at the resource level.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"get_bucket_tagging" for s3 buckets give error, when there are ...
An error occurred (NoSuchTagSet) when calling the GetBucketTagging operation: The TagSet does not exist. Is there any other method to check ...
Read more >
GetBucketTagging - Amazon Simple Storage Service
GetBucketTagging has the following special error: Error code: NoSuchTagSet ... The following operations are related to GetBucketTagging : PutBucketTagging.
Read more >
Creating a bucket using s3_bucket module completes with ...
... s3_bucket module completes with ClientError: An error occurred (NoSuchTagSetError) when calling the GetBucketTagging operation: Unknown.
Read more >
get-bucket-tagging — AWS CLI 2.9.6 Command Reference
Error code: NoSuchTagSet. Description: There is no tag set associated with the bucket. The following operations are related to GetBucketTagging :.
Read more >
Class: AWS.S3 — IBM COS SDK for JavaScript
Calling the completeMultipartUpload operation. var params = { Bucket: 'STRING_VALUE' ... Error code: NoSuchTagSet ... Calling the getBucketTagging operation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found