diff --git a/pyshorteners/shorteners/cuttly.py b/pyshorteners/shorteners/cuttly.py index 12fe54d..20c5e43 100644 --- a/pyshorteners/shorteners/cuttly.py +++ b/pyshorteners/shorteners/cuttly.py @@ -45,7 +45,7 @@ def short(self, url): "API response is invalid ,could not be decoded" ) - status = response.json()["status"] + status = response.json()["url"]["status"] if status == self.STATUS_INVALID: """According to the API Docs when a status code of 4 is returned with json an Invalid API Key is provided"""