Having issues with gettin Key set up

16 views
Skip to first unread message

Kyle Baglin

unread,
Jun 18, 2024, 6:14:34 AMJun 18
to Guardian Open Platform API Forum
Ive registered and received my API key. Once one the explorer page i search for the content with filters. Used from this date. Once API request has populated none of the links provided work. "kong error" "not authorized". Any help would be greatly appreciated.

Thank you all kindly!
-Kyle Baglin


Guardian Open Platform API Forum

unread,
Jun 18, 2024, 6:24:44 AMJun 18
to Guardian Open Platform API Forum
Hi Kyle, thanks for getting in touch.

The problem that you are describing, is that when you attempt to click on the URLs which appear in the Explorer results under the field `apiUrl`, they don't work, is that right?

You are right that there is a bug here, the interface attempts to augment this JSON output with HTML links which take you to "Explorer" version of this URL, but that functionality unfortunately does not work in the current iteration of the Explorer. If you want to view these URLs the best way to do it is to copy the text of the link instead of the destination (`href`) of the link, and then append your api-key to the resulting URL, via the `api-key` parameter. For example, if your API key was `xyzzy` then you could use a URL like this:


Hopefully this helps. Thanks, -Paul
Reply all
Reply to author
Forward
0 new messages