Answer the question
In order to leave comments, you need to log in
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.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question