Jan 20 2023 08:09 AM - edited Jan 23 2023 07:13 AM
Hello everyone
Today I started receiving the following error:
500 Internal Server Error "We got a critical error"
For the following endpoint:
POST https://login.microsoftonline.com/common/oauth2/v2.0/token
Form data:
client_id = my bot client id
client_secret = my bot client secret
code = code from MS
grant_type = authorization_code
redirect_uri = my redirect URI
This is only failing for one of my bots, and it is working for others (same setup on all of them). The weird thing is, it works when I try it in Postman with the same parameters.
Does anyone know what the error even means, I've never seen it before? Could it be that the IP is restricted or something like that?
Thanks!
Edit: it looks like a deployment issue on one of the environments. Resolved.
Jan 23 2023 07:02 AM