# Percona Operator MongoDB backup fail on compatible S3

**URL:** <https://forums.percona.com/t/percona-operator-mongodb-backup-fail-on-compatible-s3/20186>\
**Category:** Percona Operator for MongoDB\
**Created:** [February 20, 2023, 11:29am UTC](https://forums.percona.com/t/percona-operator-mongodb-backup-fail-on-compatible-s3/20186 "2023-02-20T11:29:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Sergey\_Pronin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/sergey_pronin/32/14887_2.png) [@Sergey\_Pronin](https://forums.percona.com/u/Sergey_Pronin)\
**Post date:** [February 20, 2023, 2:39pm UTC](https://forums.percona.com/t/percona-operator-mongodb-backup-fail-on-compatible-s3/20186/2 "2023-02-20T14:39:58Z")

</div>

Hey @rfaraj ,

in the most of the cases this error indicates that S3 storage credentials are wrong. The most common issue is the EOL or `\n` in the end of the key.

See here for example: [Having difficulties enabling backups with MongoDB Operator 1.10 (header errors) - #3 by Duc\_Ngo](https://forums.percona.com/t/having-difficulties-enabling-backups-with-mongodb-operator-1-10-header-errors/12996/3)

Can you please double check that you have the correct keys in the Secret?

---

_[View the full topic](https://forums.percona.com/t/percona-operator-mongodb-backup-fail-on-compatible-s3/20186)._
