overwatch-api icon indicating copy to clipboard operation
overwatch-api copied to clipboard

💬 Report owapi.io API Status issues here

Open alfg opened this issue 5 years ago • 17 comments

Please report here if you run into any issues on the hosted API at: https://owapi.io

alfg avatar Apr 06 '20 00:04 alfg

The API seems down right now, returning "Application error": http://ow-api.herokuapp.com/

Shadorc avatar Jun 26 '20 22:06 Shadorc

Hi @Shadorc,

That host is no longer in use, please try: https://owapi.io/

alfg avatar Jun 27 '20 03:06 alfg

Oh sorry, I forgot. The API was sometimes returning JSON with all fields to null so I checked the first url on the doc' page and it was this linked, I forgot that this is now outdated.

Shadorc avatar Jun 27 '20 18:06 Shadorc

@Shadorc Ah, good point. I gotta update the hostname on the docs.

Edit: Docs are now updated.

alfg avatar Jun 27 '20 21:06 alfg

Hello, The API seems down: http://owapi.io/profile/pc/us/Jay3-11118, all fields are empty or null

Shadorc avatar Mar 14 '21 18:03 Shadorc

Hey @Shadorc,

Thanks for the report. I flushed the cache and it seems to be getting results again. There may have been some timeouts.

alfg avatar Mar 14 '21 19:03 alfg

Thank you for your quick response!

Shadorc avatar Mar 14 '21 23:03 Shadorc

Hello, I'm encountering the same issue, all fields null or empty http://owapi.io/profile/pc/us/Jay3-11118

Shadorc avatar Mar 22 '21 16:03 Shadorc

Hey @Shadorc,

It seems to be responding with data again. Most likely a timeout on playoverwatch.com again and results were cached for a bit.

alfg avatar Mar 22 '21 17:03 alfg

How long are the cached values kept? Would it be possible to do something like, keep the value in cache, and when refreshing, do not update the last value if it contains only null or empty fields?

Shadorc avatar Mar 22 '21 17:03 Shadorc

I currently have it set for a TTL of 30min (due to Blizzards rate limiting).

I added a retry mechanism a while back to not cache the results if the parse fails. However, there's probably something I missed in the event of a timeout or non-200 response. I'll check into it again soon.

alfg avatar Mar 22 '21 18:03 alfg

Hello, I'm encountering the same issue, all fields null or empty http://owapi.io/profile/pc/us/Jay3-11118

It seems to be down again.

TurboSlayer avatar May 11 '21 14:05 TurboSlayer

It has been for a few days now

Shadorc avatar May 11 '21 15:05 Shadorc

Thanks for reporting. Should be back up now. It was blocked again by Blizzard/PlayOverwatch.com.

alfg avatar May 11 '21 17:05 alfg

Hello, I don't think that the API is working properly. It keeps saying {"message":"Error: Profile not found"} even for the sample url: http://owapi.io/profile/pc/us/Jay3-11118

I am new to programming so it could just be me.

Zoltixx avatar Jun 08 '21 02:06 Zoltixx

Hi @Zoltixx,

Yeah, the tests are failing because the Jay3 account seems to give a Profile not found now. I'm not sure why it changed, but I need to update to use another active account for testing.

https://playoverwatch.com/en-us/career/pc/Jay3-11118/ -> Profile Not Found

Other accounts seem to work fine: https://owapi.io/profile/pc/us/xQc-11273

alfg avatar Jun 08 '21 02:06 alfg

Hi @Zoltixx,

Yeah, the tests are failing because the Jay3 account seems to give a Profile not found now. I'm not sure why it changed, but I need to update to use another active account for testing.

https://playoverwatch.com/en-us/career/pc/Jay3-11118/ -> Profile Not Found

Other accounts seem to work fine: https://owapi.io/profile/pc/us/xQc-11273

I just realized that the usernames are case sensitive, I got it to recognize my account. Thanks.

Zoltixx avatar Jun 08 '21 03:06 Zoltixx