Hi Maksym
I was under the impression that baseOrderSize & orderSize are editable in clone combo bot endpoint
Seems like its not working
My payload
{'name': 'long_AUCTIONUSDT', 'pair': ['AUCTION_USDT'], 'step': '5.0', 'baseOrderSize': '200', 'orderSize': '50'}
bot_id = '68f869ef4f4e3df5f7fbf0fb' #Trying to clone
My response
Status: 401
Response: Unauthorized
Tried swagger UI as well didnt work
Fixed.
Tested via swagger and n8n.
If this is a payload you used in swagger it seems not a valid JSON.
updated my function and it works now
Thanks
The only change i did was removal of keys ordering
Before it errors with
body_str = json.dumps(payload, separators=(',', ':'), sort_keys=True)
After it works with
body_str = json.dumps(payload, separators=(',', ':'))
I thought jsons dont care for ordering
There was aproblem with API that I’ve fixed.
Probably it is the reason it started to work.
1 Like
Works all okay.
Thanks again
Close bug report