thankful-kangaroo-7634
08/10/2022, 4:49 PMtry:
print(relation_query)
api_response = api_instance.create_relation_tuple(relation_query=relation_query)
print(api_response)
return api_response
except ory_keto_client.ApiException as e:
print("Exception when calling WriteApi - create_relation_tuple : %s " % e)
And this is the response I'm getting
Exception when calling WriteApi - create_relation_tuple : Status Code: 404
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Type': 'text/plain; charset=utf-8', 'X-Content-Type-Options': 'nosniff', 'Date': 'Wed, 10 Aug 2022 16:38:38 GMT', 'Content-Length': '19'})
HTTP response body: 404 page not found
As it's trying to find "/admin/relation-tuples" which is not on keto server but when I make a request with this subpath "/relation-tuples" through my postman. It works !!
Is there any possible way to change the create tuple endpoint to "/relation-tuples" . So it will work on my systemsteep-lamp-91158
thankful-kangaroo-7634
08/10/2022, 7:44 PM