SearchStax Help Center


You don’t have permission to perform this action.

When using the SearchStax Managed Search service APIs, we sometimes encounter a puzzling message saying:

{"detail":"You do not have permission to perform this action."}

At first glance, this looks like it might be a problem with your SearchStax user role or possibly a Solr Basic Auth problem. This is not usually the case.

We encounter this message when we have accidentally used the wrong HTML verb (GET, POST, PUT, DELETE) in a RESTful API request. For instance, in the following example, we used POST in a method that required PUT.

We can also see this error when we have directed the API to the wrong account or deployment. For instance, we may see this message when:

  • We used the deployment ID (ss12345) as the $ACCOUNT name.
  • We used the $ACCOUNT name as the deployment ID (ss12345).
  • We used the node ID (ss12345-5) in place of the deployment ID (ss12345).
  • We used a replica name in place of a collection name.
  • We neglected to bind any value to $SSID or to $ACCOUNT.

Questions?

Do not hesitate to contact the SearchStax Support Desk.


Return to Frequently Asked Questions.