Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Unauthorized domain

    Scheduled Pinned Locked Moved Webcams API
    2 Posts 2 Posters 1.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Heorhii KarabetskyiH Offline
      Heorhii Karabetskyi
      last edited by

      Hello everyone, I'm a beginner and want to test API locally, I created a key, but I don't understand what to write in Domains restriction and Project identification, no matter what I write there, testing epoints through swagger I get a "message" everywhere: "Unauthorized domain", and through the python Client error '403 Forbidden' for url 'https://api.windy.com/webcams/export/all-webcams.json'
      How to specify this correctly?

      caldrjirC 1 Reply Last reply Reply Quote 0
      • caldrjirC Offline
        caldrjir Windy Staff @Heorhii Karabetskyi
        last edited by

        Hi @Heorhii-Karabetskyi,

        1. If you want to test endpoints through the swagger, you have to include api.windy.com in Domains restriction or leave it empty, like this:
          Snímek obrazovky 2023-12-12 v 10.34.12.png
        2. About the all-webcams.json endpoint, it's for the professional API tier only
          Snímek obrazovky 2023-12-12 v 10.35.52.png

        Best,
        Jiří.

        Windy.com webcams developer

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Windy Community  |  Powered by excellent NodeBB
        Terms of Use     Privacy Policy     Windy.com