# Getting a 400 error response when requesting a session token for the Notehub API

**URL:** <https://discuss.blues.com/t/getting-a-400-error-response-when-requesting-a-session-token-for-the-notehub-api/170>\
**Category:** Troubleshooting\
**Created:** [March 17, 2021, 5:51pm UTC](https://discuss.blues.com/t/getting-a-400-error-response-when-requesting-a-session-token-for-the-notehub-api/170 "2021-03-17T17:51:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gwolff](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@gwolff](https://discuss.blues.com/u/gwolff)\
**Post date:** [March 17, 2021, 5:51pm UTC](https://discuss.blues.com/t/getting-a-400-error-response-when-requesting-a-session-token-for-the-notehub-api/170/1 "2021-03-17T17:51:50Z")

</div>

If you are following the directions here:  
[https://dev.blues.io/reference/notecard-walkthrough/inbound-requests-and-shared-data/#adding-inbound-notes-with-the-notehub-io-api](https://dev.blues.io/reference/notecard-walkthrough/inbound-requests-and-shared-data/#adding-inbound-notes-with-the-notehub-io-api)

but the response from Notehub is

```auto
400 bad request, cannot be fulfilled ...

```

then the request is using an invalid username and password combination.
