---
page_type: error
code: 70152
message: "70152: Request Contains Invalid Flags"
level: ERROR
---

## Error - 70152

### Request Contains Invalid Flags

One or more of the provided flags in the API key request are invalid in the given context.

#### Possible Causes

- An API key is attempting to create a new key with greater permissions than what it is assigned.

#### Possible Solution:

- Remove the invalid flag(s) that would expand permissions.