Home Home
  login

Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Geckoboard json error

plugins

Hi,

Trying to setup the Geckoboard stuff, followed the instructions on the help documents but all it ever gets back is "could not parse JSON".

I had added a GUID as an API key and i have made the URL like this:

http://support.MYWEBSITE.com/api/wallboard/73/progress/

Any way i can see what the JSON is thats being sent back or work out what is wrong?

James
· 166
James
Replies (21)
helpful
0
not helpful

Which version of Gemini are you running(located at the bottom of the browser)? What happens when you type the URL into a browser? Does it work?


Simran
· 1762
Simran
helpful
0
not helpful

Running v5.0.1.3537

When you go to the url it says the following:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

z:anyType xmlns:d1p1="http://www.w3.org/2001/XMLSchema" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" i:type="d1p1:string"/

(Note: i have removed the first "<" and last ">" on the line above so that it shows)


James
· 166
James
helpful
0
not helpful

Note: its the same as i get if i hit:

http://gemini.countersoft.com/api/wallboard/240/progress-pie


James
· 166
James
helpful
0
not helpful

When we navigate to http://gemini.countersoft.com/api/wallboard/240/progress-pie it states you have the wrong API key within the XML. What do you get within the XML?


Simran
· 1762
Simran
helpful
0
not helpful

Appologies yes, that is what i get when i hit your site, on ours i simply get what i listed above:

z:anyType xmlns:d1p1="http://www.w3.org/2001/XMLSchema" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" i:type="d1p1:string"/>

it stops after that.


James
· 166
James
helpful
0
not helpful

It might be that the card used doesn't return any data to Geckoboard.

I suggest waiting for 5.1, which is due out early next week. It will give you better errors from Geckoboard so you can tell what the issue is.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Hi Mark,

Its doing it with all cards. In the docs it just tells me to make up the API key (a GUID) its not something silly like it needs to be the API key from my user is it?


James
· 166
James
helpful
0
not helpful

Did you add the api key in the web.config file?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I added a GUID that I got from http://www.guidgenerator.com/ into the we.config (as per this instruction: Please ensure that the Gemini web.config file has a API key specified. We recommend that you use a GUID as the API key).

But i wanted to check it shouldn't of been the API Key from the user screen that i should of put in the web.config.


James
· 166
James
helpful
0
not helpful

No, this is a global GUID. Is your site public (can we access it)?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

It is private but web facing. I can send you a link, what is the best email address and what do you need (a user name with admin level?)?


James
· 166
James
helpful
0
not helpful

Please upgrade to 5.1 first: http://www.geminiplatform.com/downloads/v5/countersoftgeminiv510.zip (run upgrade 5.1.sql).


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Ok, so since the update i now get: "Wrong API key" when i hit the URL directly (https://support.MYSITE.com/api/wallboard/76/progress).

The API key is set to a GUID in the web.config file and the same GUID is being used on the Gecko site.

The Gecko site wont let me save the widget as its not valid and everytime i try in the Gemini system logs i get this:

Sequence contains no elements System.Web.Http.WebHost at System.Web.Http.WebHost.HttpControllerHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)

Any ideas?


James
· 166
James
helpful
0
not helpful

Ok, seems like there are no results for the card / chart you are trying to setup. Please make sure that there are results (eg. resources)


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

yep, when i go to the card in gemini i get 50 - 60 items. Also if it has no results should the total not just be 0?


James
· 166
James
helpful
0
not helpful

Yes, it should, we will look into this.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Ok, but this is not the problem as I have results from the card I am using.

How do I get this working? Do you have one working internally?


James
· 166
James
helpful
0
not helpful

Yes, we have ours working. Which widget are you trying?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Its any type of widget, i always get the same error. Even if i use the basic "text" option for example the opened-count one.

I don’t understand how i can be doing it so wrong.


James
· 166
James
helpful
0
not helpful

Can you please send an email to support@countersoft.com with your site url, card id and api key?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful
ANSWER

FYI: anyone having problems, this is fixed if you update to v5.1


James
· 166
James