> ## Documentation Index
> Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# E_PUBLISH_FAILED

> Distribution error reported by akua pkg

`akua pkg publish` or `akua pkg push` could not upload the artifact: the registry rejected authentication, an upload request failed, or the manifest was refused.

## Shape

```json theme={null}
{
  "level": "error",
  "code": "E_PUBLISH_FAILED",
  "message": "...",
  "docs": "https://cli.akua.dev/errors/E_PUBLISH_FAILED"
}
```

## Related topics

<CardGroup cols={2}>
  <Card title="Error codes" icon="triangle-exclamation" href="/akua/errors">
    What each structured error means and how to resolve it.
  </Card>

  <Card title="akua pkg commands" icon="terminal" href="/akua/cli">
    Every command, the universal flags and the exit codes.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.