SdlError("IDirectInputDevice8::CreateEffect() DirectX error 0x80070057") when trying to rumble my gamepad

Hi there! I use SDL2 bindings for rust(but it doesnt matter) and when I’m trying to rumble my gamepad, I get an error:

SdlError("IDirectInputDevice8::CreateEffect() DirectX error 0x80070057")

I’ve created the issue on their repository, but they sent me here. So, guys, I need a help

This is DIERR_INVALIDPARAM (“An invalid parameter was passed to the returning function, or the object was not in a state that permitted the function to be called”), but beyond that I cannot help.

Also. I got this error only when I’m trying to rumble DInput gamepad. With XInput it works fine

did you find any solution for that error?? … I also get this error when I run my ps2 gamepad rumble through my ps2 converter “the blue one with 2 plugins” using rpcs3 emulator
that is my full log error line:
E SDL: Unable to play game controller rumble of player 0! SDL Error: IDirectInputDevice8::CreateEffect() DirectX error 0x80070057