While configuring Sunlight Congressional Districts module in Drupal 6, we get the following error with a key that has been
activated:
"Either the Sunlight key is not valid, or the Sunlight API is down."

Any clue why we are getting this error?

Thx!

Comments

gregarios’s picture

Priority: Normal » Critical

I'm also getting this error out of the blue. Key is correct. Not sure what the problem is but it has been happening for a month. It renders the module virtually unusable.

theunraveler’s picture

StatusFileSize
new877 bytes

I think the actual issue here is that, for whatever reason, the test query that is run before any data is sent or retrieved is failing. This patch changes that query so that it works again.

theunraveler’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

That patch was ugly. Re-rolled.

dalin’s picture

Assigned: Unassigned » theunraveler
Status: Needs review » Reviewed & tested by the community

Please apply to D6 & D7 branches.

theunraveler’s picture

Assigned: theunraveler » dalin
Status: Reviewed & tested by the community » Fixed

Done and done. Should be in 7.x-1.x and 6.x-1.x.

gregarios’s picture

@theunraveler: But the current release for v6 is 6.x-3.x (6.x-3.2)

??

theunraveler’s picture

Ah, sorry. Committed to 6.x-3.x.

rmacqueen’s picture

Version: 6.x-3.2 » 7.x-1.x-dev

I still get this same problem using 7.x-1.x and 7.x-1.0

dalin’s picture

The bug exists in 7.0. For 7.x if you used git to get the module than the fix is in place. If you are using the tarball, those only get rerolled every 12hrs or so.

dalin’s picture

correction that should've read

The bug exists in 7.x-1.0. For 7.x-1.x...

gregarios’s picture

We can't see the 6.x-3.x-dev version. Can you put out a 6.x-3.3 release?

gregarios’s picture

Status: Fixed » Active

Where can this 6.x fixed version be downloaded?

dalin’s picture

Status: Active » Fixed

The release management tools are a bit difficult to work with. I got it sorted out and released
6.x-3.3
6.x-3.x
7.x-1.0-beta7

Recommended releases get rolled every hour, dev releases twice per day. So you'll see them show up soon.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.