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

    Request for Support – "Not authorized to Windy API" Error in iframe

    Scheduled Pinned Locked Moved Windy API v4
    2 Posts 1 Posters 566 Views 1 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.
    • S Offline
      seruzier | Premium
      last edited by

      Hello Windy Team,

      I am currently starting to use your Map Forecast API for a new project, and I'm testing it with a trial API key. However, when attempting to load the API inside an

      Not authorized to Windy API: We are sorry, but something broke.
      Check out the Map Forecast API documentation
      Or visit the awesome weather forecast at Windy.com!

      This issue is blocking me from proceeding with the integration, and I haven't been able to find a workaround so far. Could you please let me know if loading the Map Forecast API in an iframe is supported, and if so, what might be causing this error?

      Thank you in advance for your help.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        seruzier @seruzier | Premium
        last edited by

        Following up on my previous message regarding the issue with loading the Windy Map Forecast API inside an iframe — I'm still getting the error:

        | Not authorized to Windy API: We are sorry, but something broke.

        To help with debugging, I’m sharing the basic test code I’m using. This example loads Leaflet 1.4.0 and Windy’s libBoot.js, and tries to initialize the map with my test key:

        
        
        
          
          Windy Forecast
          
          
          
        
          
          
        
        
          <div></div>
          
        
        
        
        

        Please let me know if there's anything wrong with the approach, or if the iframe embedding or origin might be the cause of this authorization issue.

        Thanks again for your assistance.

        Windy Forecast

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