API access restriction when trying to change initial leverage

I am trying to hit the following endpoint to change the initial leverage before creating a future order:

I am getting the following response:
{-2015: Invalid API-key, IP, or permissions for action, request ip: ...*}

My API key does have Future enabled:

My IP is whitelisted for this key aswell.

What else am I missing?

Please troubleshoot based on this post: why do I see this error "Invalid API-key, IP, or permissions for action." :slight_smile:

Thank you for your comment. This one might be the issue:
“[Futures] API Key created before your futures account opened. If the Key was generated before futures account is open, you will still see this error even “Enable Future” is checked. Please generate a new key and have a try.”

But what a fishy one and what a misguiding error message. :slight_smile: