# How to fix "key expires\_in " error

This error is caused by incorrect endpoint URLs.

In this case, you should open the app in Azure and copy the first two URLs from the list:

![](https://4173056255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY44m7ZY1jU4Arh2tzwNn%2Fuploads%2F7QIT8SGJeo6IcbrPfwJX%2Fimage.png?alt=media\&token=8b99c475-fa5e-4dfa-be06-444de6b1ac4b)

And paste them into Auth endpoint URL and Token endpoint Url, respectively:

![](https://4173056255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY44m7ZY1jU4Arh2tzwNn%2Fuploads%2F8JdahCoIQ6Ch4R3nDNRK%2Fimage.png?alt=media\&token=de4a1c1d-e715-435f-a29a-d2fe909f48a2)

Please keep in mind that Email This Issue can only work with the v2.0 URL, so if you can't see that in the URL(s), the connections won't work.
