+hxdimpf Posted March 12 Posted March 12 (edited) The documentation says that the response to request: Update Geocache Log /v1/geocachelogs/{referenceCode} is a "GeocacheLog" object and the "fields" parameter in the request tells which properties should be returned. Among these properties we find: ianaTimezoneId upvoteTypeCounts If these properties are included in "fields", they are not returned correctly ianaTimezoneId is NULL upvoteTypeCounts is [ ] (an empty array) Update: The same problem occurs when doing a CreateGeocacheLog(). So now in both scenarios, as a circumvention of the problem I do the following: response = CreateGeocacheLog( ... ) response = GetGeocacheLog(response.referenceCode) // this request should not be necessary if the initial response were correct and: response = UpdateGeocacheLog( ... ) response = GetGeocacheLog(response.referenceCode) // this request should not be necessary if the initial response were correct Edited March 12 by hxdimpf adding more information Quote
+HHL Posted March 12 Posted March 12 38 minutes ago, hxdimpf said: If these properties are included in "fields", they are not returned correctly Right, it gives a 401. Seems you're not authorized to do this call. Quote
+hxdimpf Posted March 12 Author Posted March 12 1 hour ago, HHL said: Right, it gives a 401. Seems you're not authorized to do this call. I am not getting a 401. I am getting a valid geocacheLog object, except that these two properties do not have correct values. Quote
Recommended Posts
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.