Page 1 of 1

400 Client Error

PostPosted: Mon Sep 02, 2019 1:18 pm
by Monstergerm
Today I am getting a lot of these errors. Call limit is not exceeded and some API calls work fine.

I deleted my API key for privacy protection

2019-09-02 11:59:43.728 Fantastic Weather Error Problem parsing Weather data. Dev: Dark Sky Daily Forecast (Line: 1790 Error: 400 Client Error: Bad Request for url: https://api.darksky.net/forecast/API_Ke ... us&lang=en)

Re: 400 Client Error

PostPosted: Mon Sep 02, 2019 8:11 pm
by DaveL17
Monstergerm wrote:
Today I am getting a lot of these errors. Call limit is not exceeded and some API calls work fine.

I deleted my API key for privacy protection

2019-09-02 11:59:43.728 Fantastic Weather Error Problem parsing Weather data. Dev: Dark Sky Daily Forecast (Line: 1790 Error: 400 Client Error: Bad Request for url: https://api.darksky.net/forecast/API_Ke ... us&lang=en)

Sorry to hear that you're having trouble. This is likely not the result of the plugin--especially if you've changed nothing with respect to the settings. I have checked my logs for several days and have seen zero Fantastic Weather errors. If some of the calls are going through, then I would suspect some kind of server-side confusion is happening. Please let me know if it doesn't settle down in a day or two.

Re: 400 Client Error

PostPosted: Mon Sep 02, 2019 8:20 pm
by FlyingDiver
I had some of those errors this morning. Stopped when I restarted the plugin. Bad cached auth data I think.

Re: 400 Client Error

PostPosted: Tue Sep 03, 2019 9:05 am
by DaveL17
I ultimately did have three of these errors hit the logs yesterday. I'll take a look at the code to see about trapping the 400 return more gracefully at a minimum, and see if there's a way to recover automatically when the error happens.

Dave