error if no api plugins when requesting JSON via