Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Cannot update tags due to a bug #215

Copy link
Copy link
@graysonarts

Description

@graysonarts
Issue body actions

From resource_tagger.py

        try:
            server_response = self.put_request(url, add_req)
        except ServerResponseError as e:
            if e.code == "404003":
                error = "Adding tags to this resource type is only available with REST API version 2.6 and later."
                raise EndpointUnavailableError(error)

        return TagItem.from_response(server_response.content)

The last line should be immediately after the put_request, otherwise, we can get a uninitialized variable error on server_response on a non404003 error.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.