Skip to content

heating disallowed query parameters #14

@michiii1337

Description

@michiii1337

got following error when i call vwc.heating - Disallowed query parameters

[27/02/2023 20:13:27] [API::CRITICAL] Raising error msg: Error 400: [gw.error.parameter] Disallowed query parameters
Traceback (most recent call last):
  File "/weconnect-1.5.1/example.py", line 103, in <module>
   vwc.heating(vin, action='on')
  File "/weconnect-1.5.1/NativeAPI.py", line 737, in heating
   r = self.__command('/bs/rs/v1/{brand}/{country}/vehicles/'+vin+'/actions', dashboard=self.BASE_URL, data=data, scope=self.__oauth['sc2:fal'], accept=self.__accept_mbb, content_type='application/vnd.vwg.mbb.RemoteStandheizung_v2_0_0+xml', secure_token=secure_token)
  File "/weconnect-1.5.1/NativeAPI.py", line 171, in __command
    r = self.__get_url(dashboard+command, json=post, post=data, headers=headers)
  File "/weconnect-1.5.1/NativeAPI.py", line 130, in __get_url
    raise UrlError(r.status_code, msg, r)
NativeAPI.UrlError: Error 400: [gw.error.parameter] Disallowed query parameters

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions