JSON API 500 error
Created by: pycal
I've added a few documents, document types, and metadata, and am receiving the following 500 error when querying the REST API at /api/v0/documents/documents/
Could not resolve URL for hyperlinked relationship using view name "documenttype-detail". You may have failed to include the related model in your API, or incorrectly configured the
lookup_field attribute on this field.
Imported comments:
By pycal on 2015-05-05 14:00:17 UTC
Looks like this is just related to the version of mayan used in the docker image; the REST API and new endpoints work on my local install.
By rosarior on 2015-05-15 20:41:05 UTC
Yes, the version in the docker image is a release candidate, will update to 1.1.0. Started that repo but there doesn't seems much interest for Mayan EDMS in Docker.
By rosarior on 2015-05-15 20:41:24 UTC
Closing for now, please re-open if new API errors are found, thanks!