Fixed Creating an entity triggers a silent error (issue #536)
Merge pull request #538 from janus-ssp/bugfix/536-create-entities-fail

[REVIEW] Creating an entity triggers a silent error (issue #536)