# \[API Connector\] - API Call Error on Initialize

**URL:** <https://forum.bubble.io/t/api-connector-api-call-error-on-initialize/9089>\
**Category:** Bugs\
**Created:** [December 28, 2016, 8:32pm UTC](https://forum.bubble.io/t/api-connector-api-call-error-on-initialize/9089 "2016-12-28T20:32:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddie.kollar](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@eddie.kollar](https://forum.bubble.io/u/eddie.kollar)\
**Post date:** [December 28, 2016, 8:32pm UTC](https://forum.bubble.io/t/api-connector-api-call-error-on-initialize/9089/1 "2016-12-28T20:32:30Z")

</div>

Hi,

I am creating an API Connector for the EasyPost API. The API uses Basic Auth with the api key as the username and the password is empty. When I make a GET request the following error comes back:

- {“error”:{“code”:“UNAUTHORIZED”,“message”:“Unable to access the requested resource, authorization failed.”,“errors”:[]}}

I have tested this call in Postman and it works correctly.

Any help would be greatly appreciated.

Thanks,  
Eddie

---

<div class="post-metadata">

**Author:** ![eddie.kollar](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@eddie.kollar](https://forum.bubble.io/u/eddie.kollar)\
**Post date:** [December 30, 2016, 5:19pm UTC](https://forum.bubble.io/t/api-connector-api-call-error-on-initialize/9089/2 "2016-12-30T17:19:08Z")

</div>

API call works when I add the private key in the header using the key that is generated from the call in Postman. Unless I misunderstood something about using the Basic Auth option in the wizard I would assume there might be a bug.

---

<div class="post-metadata">

**Author:** ![rosshelton](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@rosshelton](https://forum.bubble.io/u/rosshelton)\
**Post date:** [May 23, 2020, 5:27am UTC](https://forum.bubble.io/t/api-connector-api-call-error-on-initialize/9089/3 "2020-05-23T05:27:28Z")

</div>

Were you able to get this to work?

> **[API Docs](https://www.easypost.com/docs/api#authentication)**
>
> Docs for the EasyPost Shipping API with access to the UPS API, USPS API, FedEx API, DHL API, and more.
