Error Code -1022

So I am getting this error code

-1022 Signature for this request is not valid

I am using POST sapi/v1/capital/withdraw/apply
Can anyone help?

Ps The signature algorithm is working as if i do a call to other endpoints, it works.

Hi,

Can you post your code snippet so we can attempt to identify the issue in how you’ve generated the signature? As a side-note, make sure you have the correct API Permissions for withdrawing as well.

1 Like

Hi lol it was a simple error. The recvWindow parameters was different in the signature and the url :joy: lol

Ok I’m glad you resolved this :slight_smile: