Hello topzone im getin error when making vote and tring to take reward for it
Something went wrong in VoteBase::getApiResponse
java.io.IOException: Server returned HTTP response code: 403 for URL:
https://api.l2topzone.com/v1/vote?token=5e14bd08d6ef4a9f42fed190db6f27b2&ip=85.206.147.64 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at handler.voicecommands.RewardVote.getApiResponse(RewardVote.java:472)
at handler.voicecommands.RewardVote.hasVoted(RewardVote.java:436)
at handler.voicecommands.RewardVote.useVoicedCommand(RewardVote.java:217)
at l2f.gameserver.network.clientpackets.Say2C.runImpl(Say2C.java:154)
at l2f.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:49)
at l2f.commons.net.nio.impl.MMOExecutableQueue.run(MMOExecutableQueue.java:39)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
java.lang.NullPointerException
at handler.voicecommands.RewardVote.tryParseBool(RewardVote.java:446)
at handler.voicecommands.RewardVote.hasVoted(RewardVote.java:437)
at handler.voicecommands.RewardVote.useVoicedCommand(RewardVote.java:217)
at l2f.gameserver.network.clientpackets.Say2C.runImpl(Say2C.java:154)
at l2f.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:49)
at l2f.commons.net.nio.impl.MMOExecutableQueue.run(MMOExecutableQueue.java:39)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
how can i solve it?
Linkback: https://l2topzone.com/forum/index.php?topic=27616.0