Closed MGabala closed 1 year ago
Can you print the error message that returned from server?
Can you print the error message that returned from server?
I belive you mean this:
{StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Connection: keep-alive
Date: Wed, 09 Nov 2022 08:04:28 GMT
Server: nginx
x-mbx-uuid: 51df79e9-d749-439b-8a92-3337f4ded623
x-mbx-used-weight: 1
x-mbx-used-weight-1m: 1
Strict-Transport-Security: max-age=31536000; includeSubdomains
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Security-Policy: default-src 'self'
X-Content-Security-Policy: default-src 'self'
X-WebKit-CSP: default-src 'self'
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
X-Cache: Error from cloudfront
Via: 1.1 19d23243200e63f987eb95cd84ad557c.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: VIE50-P1
X-Amz-Cf-Id: NK54UqpsuubPWXurGTNI0G57SjEhSYuxnF9NycGlrG1uhb7yoKF6uA==
Content-Type: application/json;charset=UTF-8
Content-Length: 95
Expires: 0
}}
Response status code does not indicate success: 400 (Bad Request).
BTW you can download this code and use it on your own. Its small piece of code only in CRUD_TESTNET.
Can you print the error message that returned from server?
As far as i know atm if i send Post Request:
{{url}}/api/v3/order
from postman i get the same response:
{ "code": -1102, "msg": "Mandatory parameter 'side' was not sent, was empty/null, or malformed." }
like this one from my API client.. How should i send these?
It is about SHA256.
Hello, i am working with binanceAPI and i get stuck at this point: {"code":-1102,"msg":"Mandatory parameter 'symbol' was not sent, was empty/null, or malformed."}
This is my code:
This is response state:
I would appreciate if you will help me.
Actually i am building API connector and i found something. All methods from "TRADE" are working in POSTMAN, but not from my C# code. Even GetAsync dont work. This is another one method:
This is link to the repository: https://github.com/MGabala/BINANCE-BOT