If the station_id parameter is missing or malformed you will get that response. How are you feeding the URL to your request, is it hardcoded with a station_id or is this passed in to some function to build out the url string?
The apps constantly make requests to the better_forecast endpoint and I’ve never experienced a failure like this. I also ran a test for over an hour where my personal token was hitting the BF endpoint every couple minutes and I haven’t seen the issue. I even had it hammer the api every couple seconds around the top of the hour and it never failed for me.
Can you private message me the source? I don’t mind taking a quick look to see if there is something going on with the URL.
The strange thing being that I cannot see any aspect that should change between subsequent builds of this url.
So to be as sure as I can be that the url is not the problem, I revised my flow to recall the better_forecast in the event of a status error. The subsequent calls use the previous url and have been successful to date (i.e. it has not taken more than one recall to get a valid forecast).
Have you looked at logging the message contents that are coming from node_red when there is a failure? I would be curious to see if maybe the station ID is nil when this occurs.