enabledCategories not working

Hello everybody, I hope someone can help me.
I am having problems using the API. I want to get only the errors in the Style category as listed here:

https://community.languagetool.org/rule/list?offset=0&max=10&lang=en&filter=&categoryFilter=Style&_action_list=Filter

I’m calling it from a Python script passing the following arguments

r = requests.post(url, data = {‘text’: ‘Text goes here’, ‘language’: ‘en’, ‘enabledCategories’:‘STYLE’, ‘disabledRules’:‘EN_QUOTES,WHITESPACE_RULE,COMMA_PARENTHESIS_WHITESPACE,SENTENCE_WHITESPACE’, ‘enabledOnly’:True})

However the response JSON file still shows me errors from other categories such as GRAMMAR and TYPOS.
How can I check only for style errors? Is my API call wrong?

Thanks for your attention

Can you reproduce with LanguageTool HTTP API? I get Error: You cannot specify disabled rules or categories using enabledOnly=true with your example.

Thanks for your answer, I didn’t think of checking the API website.

I got the same error, I’ll think of another way of doing it.
However, my API call from my script was successful, which I don’t understand.

I’ll keep looking into it.