Skip to main content
Answered

Why do I keep getting a notification that the API service is unavailable?

  • March 3, 2022
  • 1 reply
  • 802 views

Is the API really up and running? I keep getting responses saying the API service is temporarily unavailable. I have yet to receive a working response in the past two days.

 

When attempting to exchange an auth code for a token at https://api.intercom.io/auth/eagle/token we receive this error:

 

{

  "type": "error.list",

  "errors": [

    {

      "code": "service_unavailable",

      "message": "Sorry, the API service is temporarily unavailable"

    }

  ]

}

 

We are also unable to authenticate with our own token from our developer hub. Is anyone else having these issues? We have an approved app that used to work and now we are stuck with a broken user experience.

Best answer by Jason C12

I just discovered the issue. This error message is basically incorrect. If you send a malformed authorization code the API will say it is unavailable. It will not tell you that the authorization code is incorrect.

 

The other issue with our own token not working was because the Authorization: bearer wasn't capitalized like Authorization: Bearer. Please ensure that Bearer is always capitalized. This used to work fine as bearer, but it is now required to be Bearer.

View original
Did this topic help you find an answer to your question?

1 reply

  • Author
  • New Participant
  • 1 reply
  • Answer
  • March 3, 2022

I just discovered the issue. This error message is basically incorrect. If you send a malformed authorization code the API will say it is unavailable. It will not tell you that the authorization code is incorrect.

 

The other issue with our own token not working was because the Authorization: bearer wasn't capitalized like Authorization: Bearer. Please ensure that Bearer is always capitalized. This used to work fine as bearer, but it is now required to be Bearer.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings