dracoapi / dracowalker

MIT License
2 stars 3 forks source link

Wrong Creature Error #30

Closed Nackenschelle closed 6 years ago

Nackenschelle commented 6 years ago

I have a new error message appearing on transfer Creatures

12:51:11 - error: Error: Error from server: 412 - Precondition Failed at Client.call (F:\snapshot\dracowalker\node_modules\draconode\bin\index.js:141:19) at at process._tickCallback (internal/process/next_tick.js:188:7) 12:51:11 - error: __type=FServiceError, args=[], cause=WRONG_CREATURE

I also have this error code

(node:33732) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

niicojs commented 6 years ago

does this happend to all creature or specific one?

mitviet1 commented 6 years ago

WRONG_CREATURE error showing up is when you tried to transfer a creature but that creature is either already placed in a gym or in a library or it is marked as 'favorite'. So I don't think that is really an error but simply the msg to tell you that you can't transfer them because of those 3 condition.

niicojs commented 6 years ago

Ok good info. I'll have a look

Nackenschelle commented 6 years ago

ok thanks for the info

niicojs commented 6 years ago

if you can test, should be better