Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heating disallowed query parameters #14

Open
michiii1337 opened this issue Feb 27, 2023 · 0 comments
Open

heating disallowed query parameters #14

michiii1337 opened this issue Feb 27, 2023 · 0 comments

Comments

@michiii1337
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant