Skip to content

Getting error when i try to use the wether api - could not JSON decode Lambda function response: statusCode validation failed. #194

@abbmytosa

Description

@abbmytosa

Describe the bug

  1. This works when the lat and long is given for Europe region. But when we give lat and long for India region it was not working. Giving below error.

API:
https://timemachine.pirateweather.net/forecast/*********/15.34499,75.14537,1420223400?units=si
Error:

{
"message": "Bad Gateway",
"error": "could not JSON decode Lambda function response: statusCode validation failed"
}

Expected behavior

Actual response

Actual behavior

{
"message": "Bad Gateway",
"error": "could not JSON decode Lambda function response: statusCode validation failed"
}

API Endpoint

TimeMachine

Location

15.34499,75.14537

Other details

https://timemachine.pirateweather.net/forecast/*********/15.34499,75.14537,1420223400?units=si

Troubleshooting steps

  • I have searched this repository and Home Assistant Repository to see if the issue has already been reported.
  • I have read through the API documentation before opening this issue.
  • I have written an informative title.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions