# Extractor issue: ERROR com.daml.extractor.Extractor - Failed to authenticate with Ledger API on attempt 1, next one in 1 second

**URL:** <https://forum.canton.network/t/extractor-issue-error-com-daml-extractor-extractor-failed-to-authenticate-with-ledger-api-on-attempt-1-next-one-in-1-second/518>\
**Category:** App Development\
**Tags:** extractor, sandbox\
**Created:** [May 21, 2020, 12:16pm UTC](https://forum.canton.network/t/extractor-issue-error-com-daml-extractor-extractor-failed-to-authenticate-with-ledger-api-on-attempt-1-next-one-in-1-second/518 "2020-05-21T12:16:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piyush\_Bedi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/piyush_bedi/32/113_2.png) [@Piyush\_Bedi](https://forum.canton.network/u/Piyush_Bedi)\
**Post date:** [May 21, 2020, 12:16pm UTC](https://forum.canton.network/t/extractor-issue-error-com-daml-extractor-extractor-failed-to-authenticate-with-ledger-api-on-attempt-1-next-one-in-1-second/518/1 "2020-05-21T12:16:22Z")

</div>

10:10:09.797 [main] INFO com.daml.extractor.Main$ - Starting DAML Extractor…  
10:10:11.192 [default-akka.actor.default-dispatcher-6] INFO akka.event.slf4j.Slf4jLogger - Slf4jLogger started  
10:10:13.176 [default-akka.actor.default-dispatcher-13] INFO com.daml.extractor.Extractor - Connected to ledger sandbox-04f7aa4e-d1e9-4b22-80ed-25e9a665ed0e

When operating against the Sandbox, the extractor always throws this error upon startup and then connects fine. Do you know why this happens?

```
e[32m"=============="e[39m
e[32m"DAML Extractor"e[39m
e[32m"=============="e[39m
10:10:13.327 [default-akka.actor.default-dispatcher-13] ERROR com.daml.extractor.Extractor - Failed to authenticate with Ledger API on attempt 1, next one in 1 second
e[32m"===================="e[39m
e[32m"Handling packages..."e[39m
e[32m"===================="e[39m
```

---

<div class="post-metadata">

**Author:** ![bernhard](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/bernhard/32/356_2.png) [@bernhard](https://forum.canton.network/u/bernhard)\
**Post date:** [May 22, 2020, 6:52am UTC](https://forum.canton.network/t/extractor-issue-error-com-daml-extractor-extractor-failed-to-authenticate-with-ledger-api-on-attempt-1-next-one-in-1-second/518/2 "2020-05-22T06:52:50Z")

</div>

I think this is a duplicate of [Failed to authenticate with Ledger API](https://discuss.daml.com/t/failed-to-authenticate-with-ledger-api/498)
