Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Profile API: Fails with certain tags #10

Closed
smlbiobot opened this issue Sep 17, 2017 · 26 comments
Closed

Profile API: Fails with certain tags #10

smlbiobot opened this issue Sep 17, 2017 · 26 comments
Assignees
Milestone

Comments

@smlbiobot
Copy link
Member

This is a very odd issue. The API currently fails to fetch specific profile tags even though I have verified that their tags are correct.

Example:
http://api.cr-api.com/profile/LVJCL0

This member is currently in Reddit Echo:
http://api.cr-api.com/clan/LGVV2CG

And the clan api also reported his tag:

{
    "arena": {
        "arena": "League 2",
        "arenaID": 13,
        "imageURL": "/arena/league2.png",
        "name": "Challenger II",
        "trophyLimit": 4300
    },
    "clanChestCrowns": 38,
    "currentRank": 29,
    "donations": 951,
    "expLevel": 12,
    "name": "Z3RO",
    "previousRank": 30,
    "role": 1,
    "roleName": "Member",
    "score": 4315,
    "tag": "LVJCL0",
    "trophies": 4315
}

He has also verified that it is indeed the same tag on his profile.

This just might be those unfixable bugs…

@smlbiobot
Copy link
Member Author

Found another profile with same error:

http://api.cr-api.com/profile/PCCG2UP0

@smlbiobot
Copy link
Member Author

Another one:

http://api.cr-api.com/profile/RC92GVLG

@selfish this might be a bug now — though I don’t know how you would solve this…

@Gr8z
Copy link

Gr8z commented Sep 18, 2017

Found these profiles with the same bug:

http://api.cr-api.com/profile/8yy2yjjyc
http://api.cr-api.com/profile/JGURU2J

@selfish
Copy link
Member

selfish commented Sep 18, 2017

I have added better error reporting in order to gain insight on this issue.
Still in review.

@selfish selfish added the bug label Sep 18, 2017
@selfish selfish added this to the Complete API milestone Sep 18, 2017
@selfish
Copy link
Member

selfish commented Sep 18, 2017

Turned out to be easier than I expected.
Fixed in v2.6.2.

@smlbiobot @Gr8z, thank you guys for your input, this was very helpful!

@selfish selfish closed this as completed Sep 18, 2017
@Gr8z
Copy link

Gr8z commented Sep 19, 2017

These profiles are still giving errors:
http://api.cr-api.com/profile/8220RQ9Y
http://api.cr-api.com/profile/8YY2YJJYC
http://api.cr-api.com/profile/90CLU8CRR

Although, most of the other profiles are working now.

@selfish selfish reopened this Sep 19, 2017
@selfish
Copy link
Member

selfish commented Sep 19, 2017

Fix caused instability.
Reverted to v2.6.1, fix undone (thus reopening).

@selfish
Copy link
Member

selfish commented Sep 21, 2017

Partially fixed.
http://api.cr-api.com/clan/LGVV2CG Now works
http://api.cr-api.com/profile/8220RQ9Y still doesn't.

Still investigating.

@SOSkr
Copy link

SOSkr commented Sep 22, 2017

I've searched for this code (8220RQ9Y) and I can not find it anywhere, are you sure the profile exists?

@selfish
Copy link
Member

selfish commented Sep 22, 2017

@SOSkr, thanks for the input. Perhaps this one is a mistake.
It does seem though that some tags that exist do not return correctly, and I have been seeing some rare errors that have to do with parsing server responses. That may be related.

Bottom line, until I can cofirm that all errors are gone, I'll keep investigating.

@selfish
Copy link
Member

selfish commented Sep 24, 2017

Still seeking reason for parse failure with:
/profile/90CLU8CRR

@Gr8z
Copy link

Gr8z commented Sep 27, 2017

Failing with:

http://api.cr-api.com/profile/90L8YY29G

@smlbiobot
Copy link
Member Author

Failing with:

http://api.cr-api.com/profile/2YRQPRGG

also guys: please don’t wrap your URLs in code escape coz it would be nice to be able to click on them 😉 @Gr8z

@Gr8z
Copy link

Gr8z commented Oct 1, 2017

What code escape 😛

@smlbiobot
Copy link
Member Author

@selfish
Copy link
Member

selfish commented Oct 1, 2017

I actually escaped them because I need to copy them and I don't want then accidentally clicked 😂

@roncho12
Copy link

roncho12 commented Oct 5, 2017

Hi,

The following requests all returned 520 or 521 error codes:

http://api.cr-api.com/profile/V89RGV
http://api.cr-api.com/profile/Y2C2GLQ
http://api.cr-api.com/profile/290GQ0Q
http://api.cr-api.com/profile/2PGCQJ8L
http://api.cr-api.com/profile/8GVP98VU
http://api.cr-api.com/profile/229U0JP8
http://api.cr-api.com/profile/8PQU99V0
http://api.cr-api.com/profile/8V2PRLC
http://api.cr-api.com/profile/2PLR8G8Q
http://api.cr-api.com/profile/9C2QQRRQ
http://api.cr-api.com/profile/80P29G2J9
http://api.cr-api.com/profile/Y0U9CQV
http://api.cr-api.com/profile/PYGLR8G2
http://api.cr-api.com/profile/PRLUCUUR
http://api.cr-api.com/profile/L2YCYJC
http://api.cr-api.com/profile/PCC0QRUV
http://api.cr-api.com/profile/2CYYQJQR
http://api.cr-api.com/profile/28QRG9QG
http://api.cr-api.com/clan/2CQYLYQ0
http://api.cr-api.com/clan/PGPV0GG
http://api.cr-api.com/clan/20CRR
http://api.cr-api.com/clan/2Q9RGGVV
http://api.cr-api.com/clan/L2GCG9J
http://api.cr-api.com/clan/GJJRJUR
http://api.cr-api.com/clan/22UYUJ9V
http://api.cr-api.com/profile/808CY2YR
http://api.cr-api.com/profile/YY8R880G
http://api.cr-api.com/profile/90Q8UL8Y
http://api.cr-api.com/profile/98R8C8C2
http://api.cr-api.com/profile/82PURV2C
http://api.cr-api.com/profile/Q2RRGY2
http://api.cr-api.com/profile/LL80R2RU
http://api.cr-api.com/profile/92R28JQ
http://api.cr-api.com/profile/9GQ88Y0U
http://api.cr-api.com/profile/QPYRQUGY
http://api.cr-api.com/profile/Y2VJQYQG
http://api.cr-api.com/profile/8CGP0JGP
http://api.cr-api.com/profile/Y2090R98
http://api.cr-api.com/profile/89PC2RRQ
http://api.cr-api.com/profile/8G0QLVQQ
http://api.cr-api.com/profile/LV9V9YLJ
http://api.cr-api.com/profile/8U82VPR
http://api.cr-api.com/profile/82V8PYC
http://api.cr-api.com/profile/JYG9C9GQ
http://api.cr-api.com/profile/80CU0PJG
http://api.cr-api.com/profile/PRL0RJLV
http://api.cr-api.com/profile/9Y8JU90P
http://api.cr-api.com/profile/VPYLGRP
http://api.cr-api.com/profile/LQ928YL0
http://api.cr-api.com/profile/PVJ0PJRJ
http://api.cr-api.com/profile/JR99RQ9
http://api.cr-api.com/profile/J8VYC9CU
http://api.cr-api.com/profile/9R8GJCQC
http://api.cr-api.com/profile/9QQ92UJU
http://api.cr-api.com/profile/CGPY0CLR
http://api.cr-api.com/profile/QJ2VG0R
http://api.cr-api.com/profile/8ULJRQQC
http://api.cr-api.com/profile/JUG92CR
http://api.cr-api.com/profile/88LPGG8U
http://api.cr-api.com/profile/YR999PU
http://api.cr-api.com/clan/V0U
http://api.cr-api.com/profile/LGP2VVP
http://api.cr-api.com/profile/2Y80LG9Y
http://api.cr-api.com/profile/GL9LPPC
http://api.cr-api.com/profile/8QCVC8G8
http://api.cr-api.com/profile/QL8PY2VL
http://api.cr-api.com/profile/9YU0LGLQ
http://api.cr-api.com/profile/99P82PQL
http://api.cr-api.com/profile/2PCPLYRJ
http://api.cr-api.com/profile/L2JVC0YP
http://api.cr-api.com/profile/JLPJRV2Y
http://api.cr-api.com/profile/LRL9JC
http://api.cr-api.com/profile/R889P8VV
http://api.cr-api.com/profile/2YCGUC8Q
http://api.cr-api.com/profile/LPLV08RP
http://api.cr-api.com/profile/YJPYPVQJ
http://api.cr-api.com/profile/8Q0R2Y9C
http://api.cr-api.com/profile/22UG0GPY
http://api.cr-api.com/profile/PG2UVR99
http://api.cr-api.com/profile/P2UGUG8G
http://api.cr-api.com/profile/YJU8288V
http://api.cr-api.com/profile/8P9LV9QQ
http://api.cr-api.com/profile/C8R8CP80
http://api.cr-api.com/profile/82Y8PU9Q
http://api.cr-api.com/profile/9GP8VC8Y
http://api.cr-api.com/profile/9CC8GG9Q
http://api.cr-api.com/profile/8QPUPG0U
http://api.cr-api.com/profile/PGJ0YJ0V
http://api.cr-api.com/profile/9JCR09J2
http://api.cr-api.com/profile/RULLVVUG
http://api.cr-api.com/profile/8CQGYCV2
http://api.cr-api.com/profile/8RULC9Y
http://api.cr-api.com/profile/99YY0R9Q
http://api.cr-api.com/profile/GPV988
http://api.cr-api.com/profile/YJ90Y9JL
http://api.cr-api.com/profile/QRLJY8LY
http://api.cr-api.com/profile/R0VRRLJV
http://api.cr-api.com/profile/2UR8QR
http://api.cr-api.com/profile/209GUVP8U
http://api.cr-api.com/profile/L0JGYYC
http://api.cr-api.com/profile/8VPGRPY
http://api.cr-api.com/profile/2PRUP00L
http://api.cr-api.com/profile/PC228CRV
http://api.cr-api.com/profile/2VVPGJQ
http://api.cr-api.com/profile/YPQJVG
http://api.cr-api.com/profile/L0RCQC2C
http://api.cr-api.com/profile/GGRYV0RL
http://api.cr-api.com/profile/8G09UYG8
http://api.cr-api.com/profile/QYJ2GG0
http://api.cr-api.com/profile/YQL88R99
http://api.cr-api.com/profile/8CLU2RVV
http://api.cr-api.com/profile/2GQRQ9RL
http://api.cr-api.com/profile/2J0UGL2
http://api.cr-api.com/profile/CQUYU98R
http://api.cr-api.com/profile/80L88U0J
http://api.cr-api.com/profile/2UYV2PRV
http://api.cr-api.com/profile/82LYVR0L
http://api.cr-api.com/profile/GYQJPP9C
http://api.cr-api.com/profile/LLPC8UR
http://api.cr-api.com/profile/9QCQ80L8
http://api.cr-api.com/profile/2VVYRJRP
http://api.cr-api.com/profile/JVPGJC8V
http://api.cr-api.com/profile/8ULRU9Q8
http://api.cr-api.com/profile/QJ922PU2
http://api.cr-api.com/profile/RP90JJ9Y
http://api.cr-api.com/profile/Q9LRLPQ
http://api.cr-api.com/profile/YJJGVRJY
http://api.cr-api.com/profile/V92V89G
http://api.cr-api.com/clan/89R2PVG
http://api.cr-api.com/clan/80JJP9GG
http://api.cr-api.com/clan/2J2UYJG
http://api.cr-api.com/clan/GG2V89L
http://api.cr-api.com/clan/8QCVG8VG
http://api.cr-api.com/clan/88CCC2JL
http://api.cr-api.com/clan/8Y9Q2P0L
http://api.cr-api.com/clan/2J08G2QP
http://api.cr-api.com/clan/UQLLU8Q
http://api.cr-api.com/clan/8R98RJ28
http://api.cr-api.com/clan/2U2GGQJ
http://api.cr-api.com/clan/PLYVU2G
http://api.cr-api.com/clan/UYQYU
http://api.cr-api.com/clan/2CPU92VC
http://api.cr-api.com/clan/8P9UV
http://api.cr-api.com/clan/892YU99V
http://api.cr-api.com/profile/90PPYLCY
http://api.cr-api.com/profile/9L000QUR
http://api.cr-api.com/profile/YPJ9VJC9
http://api.cr-api.com/profile/GRRV8VVC
http://api.cr-api.com/profile/89PCQYP0
http://api.cr-api.com/profile/PQUPU8LC
http://api.cr-api.com/profile/PPR2VCQG
http://api.cr-api.com/profile/YCY2PGQ0
http://api.cr-api.com/profile/2QYU0CY2
http://api.cr-api.com/profile/Y8C8V8QQ
http://api.cr-api.com/profile/2J9PUUQ0
http://api.cr-api.com/profile/2LLRRJ2J
http://api.cr-api.com/profile/9VC2PJ89
http://api.cr-api.com/profile/G8CVYVC9
http://api.cr-api.com/profile/8YGVCCVV
http://api.cr-api.com/profile/2JPR9UCJ
http://api.cr-api.com/profile/L02YRPYU
http://api.cr-api.com/profile/29GPGJ8J
http://api.cr-api.com/profile/CR2UCCYJ
http://api.cr-api.com/profile/JYPJCGUQ
http://api.cr-api.com/profile/L9Y0YVC
http://api.cr-api.com/profile/UUJVCL
http://api.cr-api.com/profile/J882LLQ
http://api.cr-api.com/clan/29P89Y8V

Many of them work now, but when i ran my script, all of these returned error codes, while most of the requests worked correctly.

@Gr8z
Copy link

Gr8z commented Oct 5, 2017

@roncho12 I tested most of those URLs, almost all of them returned a 200. Not sure why you are getting 520s

@NestorAke
Copy link

Hi, some help please!
This profile http://api.cr-api.com/profile/980UPCQ8Y returns:
"Service Unavailable, but will be back shortly."

With other works great.

@fourjr
Copy link
Contributor

fourjr commented Oct 21, 2017

http://api.cr-api.com/profile/8VRJ02QJP
Pretty sure this is a fail too. Says error service not available, but api works on my other tags

@jmibegi2h
Copy link

Here is another tag that returns the wrong user # 92GQJLVC0

@jmibegi2h
Copy link

How can this be an invalid tag if the user has this in the game?

@bsantosh909
Copy link

@jmibegi2h its not invalid, but the issue is the API return data for the tag #8U2UVRPJ when you call the tag #92GQJLVC0 and thats the issue reported.

@jmibegi2h
Copy link

something has become so many cases when it returns Incorrect information about the tag! Here's another # 9YOLJP8LQ that can be fixed at all?

@jmibegi2h
Copy link

#98C2R0CRP

@selfish
Copy link
Member

selfish commented Oct 30, 2017

Whoever logged stuff around here, I believe this issue is fixed.
If you are still experiencing the same issue, please reopen.
@smlbiobot FYI.

Fixed in v6.0.0, closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

9 participants