List Policies returning incorrect policies

Hi @Hank_Birkdale,
Welcome to Tyk Community and thank you for posting your question here.

For your first concern wherein the Policy name is empty, it is because the policies.json doesn’t have a "name" attribute set into it thus it is not returning a name. If you edit the policies.json and put "name" : "PolicyName" and then call the /tyk/policies endpoint, it will return the policy with that name.

As for adding a policy using POST tyk/policies endpoint, I can replicate your issue and it seems that this appears to be a known bug and is currently under discussion.

1 Like