Jump to content

Bug in API

api wot

  • Please log in to reply
No replies to this topic

Bartek221O #1 Posted 04 August 2020 - 11:05 AM


  • Oficer Łączności
  • 25739 battles
  • 4,354
  • Member since:

Hello, I want to report bug in API. I wrote for support but they told me to write here.

Problem is in section API -> STRONGHOLDS -> Activate available clan Reserve

if I want to turn on a reserve that is being produced at the same time on the same level, API return error with code 409. if I remove the reserve from production all works correctly.

i did some tests and I suppose that I know where is problem. WG gives in API the number of reserves as a sum of made and being produced reserves. When I try to activate bonus probably wg checks how many reserves I have and this number not equal with number of wg reserves which are probably counted separately as ,,made" and ,,being produced now".

if I am wrong, tell me what I am doing wrong, if I do not ask for the correction of this error because it makes it impossible to make the automatic device for turning on the reserves according to the schedule.

I'am sorry for language mistakes

Also tagged with api, wot

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users