and the response: Exception in thread "main" com.business.connector.client.exceptions.BinanceClientException: {"code":-1002,"msg":"You are not authorized to execute this request."}
Same issue for /lending/auto-invest/one-off endpoint.
But, I’m able to successfully perform a call for others endpoint with no issue, Ex: /lending/auto-invest/plan/list and /lending/auto-invest/plan/edit-status.
Can you check if URL you’re referring to, &details[0].percentage=100×tamp=1725463475719, is correctly URL-encode parameters in PHP, ensuring the brackets and other special characters are handled properly…
Constructs the query parameters as an array, handling both simple and complex (nested) data.
Uses PHP’s http_build_query to correctly encode all parameters, including arrays, ensuring that characters like brackets are correctly encoded.
Appends the encoded query string to the base URL.
The use of http_build_query automatically handles URL encoding based on RFC 3986 standards, which should resolve issues related to incorrect manual encoding.