Answered

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

  • 3 March 2022
  • 1 reply
  • 226 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.

icon

Best answer by Jason C12 4 March 2022, 00:47

View original

1 reply

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