<p>Here is the github I have working with:</p>

<p><a href="https://github.com/danpaquin/gdax-python" rel="nofollow noreferrer">https://github.com/danpaquin/gdax-python</a></p>

<p>When I run the following code:</p>

<pre><code>auth_client.get_accounts()
</code></pre>

<p>I'm getting the following error:</p>

<pre><code>TypeError: expected string or bytes-like object
</code></pre>

<p>Which doesn't make much sense to me. Any help would be much appreciated. </p>

CC BY-SA 3.0
2018-01-06T16:21:24.730Z
I assume you have setup API access within your account settings and initialized AuthenticatedClient ?
Chak
CC BY-SA 3.0
2018-01-06T16:37:20.287Z
yes, i found the problem though, wasnt using the passphrase
madsthaks
<api><python><gdax>
Issues when attempting to get accounts using the GDAX API
madsthaks
# Issues when attempting to get accounts using the GDAX API

(Asked by: username_0 on 2018-01-06)

Here is the github I have working with:

<https://github.com/danpaquin/gdax-python>

When I run the following code:

```
auth_client.get_accounts()

```

I'm getting the following error:

```
TypeError: expected string or bytes-like object

```

Which doesn't make much sense to me. Any help would be much appreciated.

**Tags:** api, python, gdax

> **Comments:**
> **username_1**: I assume you have setup API access within your account settings and initialized AuthenticatedClient ?  
> **username_0**: yes, i found the problem though, wasnt using the passphrase  

---

## 0 answers

