Jump to content

Cache has Solution Checker but hasSolutionChecker returns False


Recommended Posts

The API call to check if a cache has a solution checker generally works Ok. But the call fails for some caches. For example:

$data = gcapi2("geocaches/GC81P9G?fields=referenceCode,geocacheType,hasSolutionChecker","GET")

 

Returns false:

{"referenceCode":"GC81P9G","geocacheType":{"id":8,"name":"Mystery","imageUrl":"https://www.geocaching.com/images/wpttypes/8.gif"},"hasSolutionChecker":false}

 

But, as you can see, GC81P9G does have a solution checker.

 

Is this because the the cache page does not have the 'newish' solution checker attribute?

 

If this is the case, an easy fix would be to update the database to add that attribute if it does not exist for all caches that have the 'newish' Geocaching solution checker.

Or am I missing some non-sensible reason why this API call is returning an incorrect value? :rolleyes:

  • Surprised 1
  • Helpful 1
Link to comment
4 hours ago, janrei_ said:

Have you tried out whether the checker actually works?

None of the checker's items are clickable. The "checker" doesn't work at all.

Actually the "checker" is just a graphic. A red herring, so to say. :P

The API call gives a correct result.

Edited by HHL
  • Helpful 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...