nxfi777
PROOP
2 years ago
When I try to delete an old template I get this error
Error Not Authorized:
{"response":{"errors":[{"message":"Not Authorized","locations":[{"line":2,"column":3}],"path":["templateDelete"],"extensions":{"code":"INTERNAL_SERVER_ERROR","exception":{"status":400}}}],"data":null,"status":200,"headers":{}},"request":{"query":"mutation templateDelete($id: String!) {\n templateDelete(id: $id)\n}","variables":{"id":"1822d872-71ac-496f-9a36-5cdefab7617c"}}}0 Replies
brody
EMPLOYEE
2 years ago
is this a template on a team?
brody
EMPLOYEE
2 years ago
does the url have the team id in it?
brody
EMPLOYEE
2 years ago
add it ?teamId=
brody
EMPLOYEE
2 years ago
good question, the dashboard will make a me graphql query when you refresh the page, the result of that query will contain your team id
brody
EMPLOYEE
2 years ago
its easy enough haha
I added the team id to the query parameter of the template url and nothing happened
brody
EMPLOYEE
2 years ago
i opened up dev tools
brody
EMPLOYEE
2 years ago
the path you would want is /account/templates?teamId=
brody
EMPLOYEE
2 years ago
okay i can reproduce
brody
EMPLOYEE
2 years ago
will flag
jake
EMPLOYEE
2 years ago
Raised to team
fp
EMPLOYEE
2 years ago
PR merged. Should be live in ~10m.