You are not logged in. Please login at www.codechef.com to post your questions!

×

[closed] Codechef Api giving 5xx response

Codechef Api is giving 5xx responses almost everyday now.
I save the refresh token in my database and refresh my accessToken whenever it gets expired.

But when the server goes down and comes back up, I see the following error while refreshing token.

{"status":"error","result":{"errors":{"message":"Invalid refresh token","code":"invalid_grant"}}}

This only happens after your API gives 5xx for some time. Otherwise, I have tried refreshing it even every hour, it works fine. But after your API is down, it shows the above-mentioned error. The user gets log out because of this.

Please look into the matter.

Thanks

asked 21 Sep, 13:55

tanmaydatta's gravatar image

2★tanmaydatta
575
accept rate: 0%

closed 30 Sep, 14:18

abhijeetpandey's gravatar image

3★abhijeetpandey ♦♦
45471013

The question has been closed for the following reason "Issue resolved." by abhijeetpandey 30 Sep, 14:18

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×199
×190
×115

question asked: 21 Sep, 13:55

question was seen: 64 times

last updated: 30 Sep, 14:18