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

    Point forecast API - free trial does not work

    Scheduled Pinned Locked Moved Windy API v4
    5 Posts 3 Posters 2.1k 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.
    • M Offline
      mowoolli
      last edited by

      I have generated a free trial API key for point forecasting, but the example shown in the documentation does not work.

      {
          "lat": 49.809,
          "lon": 16.787,
          "model": "gfs",
          "parameters": ["wind", "dewpoint", "rh", "pressure"],
          "levels": ["surface", "800h", "300h"],
          "key": "i-put-my-key-here"
      }
      

      I receive a 400 error in response, specifically it states that

      Invalid request - "key", "model", "lat", "lon" or "parameters" are missing.
      

      What is the issue? I would like to upgrade to the premium API, but this and the lack of technical support has me worried that it will be a waste of $1000.

      KorinaK A 2 Replies Last reply Reply Quote 0
      • KorinaK Offline
        Korina @mowoolli
        last edited by

        @mowoolli Hello, with test trial, you can only test random coordinates.

        Korina

        M 1 Reply Last reply Reply Quote 1
        • A Offline
          alpinazo @mowoolli
          last edited by

          @mowoolli I had this error today using Postman but it's a simple thing to solve. Just add the header Content-Type:application/json to your request. That's all :).

          KorinaK 1 Reply Last reply Reply Quote 1
          • M Offline
            mowoolli @Korina
            last edited by

            @korina Hi, so how do I test random coordinates? This is the example code in the documentation. Omitting the coordinates does not work either.

            1 Reply Last reply Reply Quote 1
            • KorinaK Offline
              Korina @alpinazo
              last edited by

              @alpinazo said in Point forecast API - free trial does not work:

              @mowoolli I had this error today using Postman but it's a simple thing to solve. Just add the header Content-Type:application/json to your request. That's all :).

              @mowoolli

              Korina

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