Добрый день! Получаю ошибку при получении access token из refresh token:
-- {
"error": "invalid_grant",
"error_description": "Bad Request",
"error_uri": ""
}
Код ошибки - 400
Отправляю запрос:
https://www.googleapis.com/oauth2/v3/token&grant_type=refresh_token&client_id=ххххххххх&client_secret=хххххххххх&refresh_token=ххххххххххххххх
Раньше работало все замечательно, пару недель назад перестало.
Причет ошибка только на тестовом аккаунте.
На рабочым аккаунте все работает.
Подскажите в чем может быть причина ошибки?
Может refresh_token устарел?
Может нужно перегенерировать refresh_token?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/78bf52d2-1823-4d98-aab2-dce870ae3cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment