Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-37827

Debug WeatherForecast 400 bad request

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      For some yet undetermined reason, the API call returns a 400 bad request response on occasion.

        Attachments

          Activity

          Hide
          ecoughlin Eric Coughlin added a comment -

          It seems like the MeteoBlue API will sometimes return less than the expected 382 values. It will return 370 for hourly trends which then causes the DDS write to fail. The 400 bad requests may be related to the API configurable limit but not fully verified. I added a padding function to fill up the data and am now validating that it mitigates the issue. Also sending an email to MeteoBlue to see why the API returns truncated values.

          Show
          ecoughlin Eric Coughlin added a comment - It seems like the MeteoBlue API will sometimes return less than the expected 382 values. It will return 370 for hourly trends which then causes the DDS write to fail. The 400 bad requests may be related to the API configurable limit but not fully verified. I added a padding function to fill up the data and am now validating that it mitigates the issue. Also sending an email to MeteoBlue to see why the API returns truncated values.
          Hide
          ecoughlin Eric Coughlin added a comment -

          See previous comment.

          Show
          ecoughlin Eric Coughlin added a comment - See previous comment.
          Hide
          wvreeven Wouter van Reeven added a comment -

          Thanks for debugging this. Now on to implementing the fix!

          Show
          wvreeven Wouter van Reeven added a comment - Thanks for debugging this. Now on to implementing the fix!

            People

            Assignee:
            ecoughlin Eric Coughlin
            Reporter:
            ecoughlin Eric Coughlin
            Reviewers:
            Wouter van Reeven
            Watchers:
            Andy Clements, Eric Coughlin, Sebastian Aranda, Wouter van Reeven
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.