Hi, I'm getting an error "subject is not allowed t...
# ory-network
b
Hi, I'm getting an error "subject is not allowed to be nil" when calling /relation-tuples/check with POST
Copy code
// POST
<http://our.url.com/relation-tuples/check|our.url.com/relation-tuples/check>
{
    "namespace": "Application"
    ,"object": "helloworld"
    ,"relation": "use"
    ,"subject_id": "subjectFoo"
}
Copy code
Response: {"error":{"code":400,"status":"Bad Request","request":"78bf4c3a-ab0d-90d6-9e16-ea07f9daea1a","message":"subject is not allowed to be nil"}}
The same request is working against the same endpoint with GET
Copy code
// GET
<http://our.url.com/relation-tuples/check?namespace=Application&object=helloworld&relation=use&subject_id=subjectFoo|our.url.com/relation-tuples/check?namespace=Application&object=helloworld&relation=use&subject_id=subjectFoo>
Copy code
Response: {"allowed":true}
Any ideas?
-