HTTP OAuth2 Connection error: 301 Moved Permanently

When trying to connect Make through HTTP OAuth2 with ID and Secret (Auth Code) to external service I get an error:
{"message":"The request failed due to failure of a previous request.","code":"...","suberrors":[{"message":"\"<html>\\r\\n<head><title>301 Moved Permanently</title></head>\\r\\n<body bgcolor=\\\"white\\\">\\r\\n<center><h1>301 Moved Permanently</h1></center>\\r\\n<hr><center>nginx</center>\\r\\n</body>\\r\\n</html>\\r\\n\"","name":"Error"}]}

I use redirect URI from Integromat.com era, but as i figured out it is correct for oauth/cb/oauth2.

What should I do to estabilish a connection?

Hello @BiM and Welcome to the Make Community!

Is there any chance you can also provide the name of the service you’re trying to connect with as well as the exact URI you used?

Yes, it is amoCRM, if it is important, exaxt uri: https://www.integromat.com/oauth/cb/oauth2

Welcome to the Make community!

According to the documentation at Пример по шагам, the URL should be https://www.amocrm.ru/oauth

Please refer to the official documentation for further details.

Hope this helps! Let me know if there are any further questions or issues.

@samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

Thank You for the response. Sorry, maybe I provided too few of details. For the connection to be made there’re threee links needed:

  1. https://amocrm.ru/oauth as Authorize URI
  2. https://amocrm.ru/oauth2/access_token as Token URI
  3. AND one more link as REDIRECT URI in amoCRM configuration. That is the problem, because if I use https://www.integromat.com/oauth/cb/oauth2 as stated in docs I get 301. If I use make.com domain - I get cross-reference error (changing domains).

So the thing is about the third one.