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.
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2016-07-23 at 9.26.14 AM.png | 192.56 KB | dremy |
Comments
Comment #2
e0ipsoPlease try with 8.2.x-dev and report back.
Comment #3
dremy CreditAttribution: dremy commented@e0ipso where can I find 8.2.x-dev?
I've checked Drupal code repository, release history, git branch, searched your github account... nothing.
Comment #4
e0ipsoI meant 8.2.x for Drupal core. Sorry for the confusion.
Comment #5
dremy CreditAttribution: dremy commentedNo 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
Comment #6
e0ipso@dremy can you confirm which one of those scenarios work and which ones don't?
Comment #7
e0ipsoComment #8
boztek CreditAttribution: boztek commentedI've only been able to get this module to work with 8.2.x. Totally broken on 8.1 releases.
Comment #9
e0ipsoI 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.