R
R
rinaz222019-12-13 14:24:02
API
rinaz22, 2019-12-13 14:24:02

Why doesn't getting Yandex metric data via API work?

Hello! I want to get statistics on the API, but nothing happens, it gives a 403 error.
I do everything as in the documentation:

https://api-metrika.yandex.ru/stat/v1/data?metrics=ym:s:visits,ym:s:pageviews&dimensions=ym:s:referer,ym:s:startURLDomain&date1=20191213&date2=20191213&limit=1000&offset=1&id=123456&oauth_token=dsfsdifdsf9ddfusdfehdmmasdasd030

What's wrong, why is it always getting a 403 error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2019-12-13
@SilenceOfWinter

it means the token is incorrect or the request is coming from the wrong domain to which the token is bound

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question