Skip to content

Netatmo response error 403 : {'code': 13, 'message': 'Operation is forbidden'} #103

@probstmartin

Description

@probstmartin

Hi,
I am trying to get this library working and I am getting this result when running python3 lnetatmo.py:

lnetatmo - ERROR: Netatmo response error 403 : {'code': 13, 'message': 'Operation is forbidden'}
Traceback (most recent call last):
  File "/home/pi/netatmo-api-python/lnetatmo.py", line 1194, in <module>
    homes = HomeData(authorization)
            ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pi/netatmo-api-python/lnetatmo.py", line 672, in __init__
    self.rawData = resp['body']
                   ~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

Debugging yields that the access_token is properly transmitted and I am 100% sure that the code is correct. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions