# You are not authorized to perform this operation

**URL:** <https://discourse.sst.dev/t/you-are-not-authorized-to-perform-this-operation/2341>\
**Category:** General\
**Created:** [March 5, 2021, 10:57am UTC](https://discourse.sst.dev/t/you-are-not-authorized-to-perform-this-operation/2341 "2021-03-05T10:57:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rupertlssmith](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@rupertlssmith](https://discourse.sst.dev/u/rupertlssmith)\
**Post date:** [March 5, 2021, 10:57am UTC](https://discourse.sst.dev/t/you-are-not-authorized-to-perform-this-operation/2341/1 "2021-03-05T10:57:53Z")

</div>

Hi, Just getting started with SST. I am trying to deploy a nearly empty stack as just beginning to define the infrastructure for a new project.

When I run `npx sst start`, I get a ‘You are not authorized to perform this operation.’ error. Unfortunately, this error does not tell me what authorization I am missing. I would hope to see a specific IAM Permission that my account is lacking, so that I know how to fix the problem.

Is there a guide somewhere that helps with getting permissions set up to use SST? Or some way to make it tell me what permission I am missing?

The account I am using to deploy this has sufficient permissions to do it under CDK, and I am just moving this simple CDK stack over to use SST.

```auto
===============
 Deploying app
===============

Preparing your SST app
Transpiling source
Deploying stacks
[Error at /dev-eco-server-eco-server] You are not authorized to perform this operation.

Error: Found errors
    at StackCollection.processMetadataMessages (/home/rupert/sc/github/eco-pro/eco-server/infrastructure/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/api/cxapp/cloud-assembly.ts:201:13)
    at CdkToolkit.validateStacks (/home/rupert/sc/github/eco-pro/eco-server/infrastructure/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/cdk-toolkit.ts:536:12)
    at CdkToolkit.selectStacksForDiff (/home/rupert/sc/github/eco-pro/eco-server/infrastructure/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/cdk-toolkit.ts:506:16)
    at process._tickCallback (internal/process/next_tick.js:68:7)

```

---

<div class="post-metadata">

**Author:** ![rupertlssmith](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@rupertlssmith](https://discourse.sst.dev/u/rupertlssmith)\
**Post date:** [March 5, 2021, 11:15am UTC](https://discourse.sst.dev/t/you-are-not-authorized-to-perform-this-operation/2341/2 "2021-03-05T11:15:19Z")

</div>

I was able to start the stack for a new project created with:

```auto
npx create-serverless-stack@latest my-sst-app

```

So I guess the lack of permission must be something that I am creating in my stack, rather than deployment permissions in general.

Would be nice to get some more detail on this error though - the stack did succesfully deploy in CloudFormation without error.

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [May 15, 2021, 11:00pm UTC](https://discourse.sst.dev/t/you-are-not-authorized-to-perform-this-operation/2341/3 "2021-05-15T23:00:36Z")

</div>

That’s a bit strange. Let me know if you run into this again.
