For the connection to be made there’re threee links needed. I use:
-
https://amocrm.ru/oauth as Authorize URI
-
https://amocrm.ru/oauth2/access_token as Token URI
-
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. UPD: If I use make.com domain - I get cross-reference error (changing domains).
Full text of an error is:
{"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"}]}
What am I doing wrong and how to estabilish a connection?