code: def _catch_errors(self, json_response):
          
          status = json_response.get('status')
          if status:
              message = status.get('message')
              value = status.get('value')
              custom_messages = {
                  10: 'Invalid credentials',
                  18: 'Do not use the demo account for your application',
              }
              self.error = custom_messages.get(value, message)
              LOGGER.error("Error %s from JSON %s", self.error, json_response)
  
          return self.error
docs: Changed: removed check on number of elements:
              - totalResultsCount not sytematically returned (e.g in hierarchy)
              - done in base.py