-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hello!
I registered my application thus obtained app key and access token. By reading the documentation I figured out that it's possible to pass additional arguments into the fetch method, as soon as they are named the same as described in the endpoint documentation.
Sounds great. So I tried
SITE.fetch('users/{ids}/top-answer-tags', ids=user_id, access_token=access_token, key=key)And got
stackapi.stackapi.StackAPIError: ('https://api.stackexchange.com/2.2/users/922184/top-answer-tags/?pagesize=1&page=1&filter=default&access_token=xxxxxxxxxxxxxxxx&site=stackoverflow', 405, 'key_required', 'keyis required whenaccess_token is passed.')
I obviously passed the key, but for some reason it doesn't appear in the url. Why is that?
If I take this url and add the key manually and test it in the browser, it works perfectly! Would be nice if this is fixed :)