D
D
Dmitry Vasechka2018-03-28 09:29:11
API
Dmitry Vasechka, 2018-03-28 09:29:11

Why does the Metrics API return a 403 error?

Good day!
When requesting a Yandex metric, a 403 Forbidden error is returned. Error text and browser console

Failed to load https://api-metrika.yandex.ru/stat/v1/data?preset=... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' mysite.ru ' is therefore not allowed access. The response had HTTP status code 403.

The id and token have been replaced in the link, so it is not working

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2018-10-12
@webog

Solved a problem? How?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question