Closed Hypothesis-github closed 5 years ago
Hi @Hypothesis-github!
The baseUrl
you should set in your plugin configuration is: http://hfp.co.ir/cockpit
, with no /
at the end. Did you tried that ? If so, what was the output ?
If it tells you that error: Error: Token config parameter is invalid
, it's because you have not properly set your Master API Key in the token
configuration parameter. The Master API Key can be generated and found in Cockpit under the Settings > API Access page. :)
TypeError: names.filter is not a function
We should add a check if names is an array and not empty here and either ignore it (no collections might happen once we support singletons) or throw a more appropriate error if we can detect that there is no Cockpit Instance available at that URL..
I have 2 types of error first is generated with
baseUrl:: "http://domain.com/cockpit",
and is
second one I change the URL and I add a / at the end
baseUrl:: "http://domain.com/cockpit/",
and it turns into
please guide me.