Now that the routes are understood, I've attempted to try to use the module again on a clean install:

  • Once on Simplytest.me
  • Once on Pantheon.io

And it has failed the two base scenarios:

Scenario #1 - Browser
After installing the module, and
Creating test article content
When I navigate in the browser to: /api/node/article?_format=api_json
I receive:

The website encountered an unexpected error. Please try again later.

Scenario #2 - Postman
After installing the module, and
Creating test article content
When I submit a GET request in Postman to: /api/node/article?_format=api_json
I receive:

The website encountered an unexpected error. Please try again later.

The videos show that it works, but on a clean install it does not appear to be functioning correctly. See screenshot attached.

CommentFileSizeAuthor
Screen Shot 2016-07-23 at 9.26.14 AM.png192.56 KBdremy
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dremy created an issue. See original summary.

e0ipso’s picture

Please try with 8.2.x-dev and report back.

dremy’s picture

@e0ipso where can I find 8.2.x-dev?

I've checked Drupal code repository, release history, git branch, searched your github account... nothing.

e0ipso’s picture

I meant 8.2.x for Drupal core. Sorry for the confusion.

dremy’s picture

No problem. Internal Server Error (500 Code)

Scenario 1
Brand new local install. drupal-8.2.x-dev, PHP 5.6.10, MAMP stack, JSON API 8.1.x-dev

Scenario 2
8.2 complex and likely to break Pantheon

Scenario 3
8.2 Not possible with SimplyTest.me

e0ipso’s picture

@dremy can you confirm which one of those scenarios work and which ones don't?

e0ipso’s picture

Title: Out of the box - 500 (Internal Server Error) » [BUGFIX] Out of the box - 500 (Internal Server Error)
boztek’s picture

I've only been able to get this module to work with 8.2.x. Totally broken on 8.1 releases.

e0ipso’s picture

Status: Active » Closed (works as designed)

I added the following to the project page. If you get a 500 error out of the box for 8.2.x+, feel free to reopen.

Compatibility

This module is compatible with Drupal core 8.2.x and higher. There are known issues for 8.1.x that are not planned to be addressed.