# Account Number: null - paper account not found

**URL:** https://forum.alpaca.markets/t/account-number-null-paper-account-not-found/4027
**Category:** Alpaca Account Troubleshooting
**Created:** [January 22, 2021, 12:38pm UTC](https://forum.alpaca.markets/t/account-number-null-paper-account-not-found/4027 "2021-01-22T12:38:03Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![romain](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@romain](https://forum.alpaca.markets/u/romain)
#### Post date: [January 22, 2021, 12:38pm UTC](https://forum.alpaca.markets/t/account-number-null-paper-account-not-found/4027/1 "2021-01-22T12:38:03Z")

</div>

Hi there,

I have been using my **paper** account for two or three weeks now and yesterday while resetting the equity I noticed a very weird error on my dashboard : I can still authentify to the website but the paper account is supposedly not found. I get the following error in the firefox console (same in Chromium) :

```auto
api#error GET /paper_accounts/9a1ac15d-0499-4f5f-a9be-69239c9deb42/trade_account/margin 
Object { }
 404 
Object { code: 40410000, message: "paper account not found" }
instrument.ts:129:35

```

Also, the page at [https://app.alpaca.markets/paper/dashboard/overview](https://app.alpaca.markets/paper/dashboard/overview) is displaying an empty content with only left and upper menus, nothing inside.

Any thoughts on how to solve this issue ? Thanks in advance !  
Best regards,  
Romain

## Environment

**Other Environment Details**  
Ubuntu 18.04 - Firefox - Chromium

---

<div class="post-metadata">

### Author: ![Dan\_Whitnable\_Alpaca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/dan_whitnable_alpaca/32/1658_2.png) [@Dan\_Whitnable\_Alpaca](https://forum.alpaca.markets/u/Dan_Whitnable_Alpaca)
#### Post date: [January 23, 2021, 6:23pm UTC](https://forum.alpaca.markets/t/account-number-null-paper-account-not-found/4027/2 "2021-01-23T18:23:56Z")

</div>

A few things. Resetting a paper account actually creates a new account. It doesn’t just set reset the balance but starts over drom a brand new account. The previous account is still there but marked ‘inactive’. So, after resetting a paper account you must regenerate the API keys and then use those new keys in one’s algo. Because the previous account is technically still there, it can be confusing because some of the API calls still return data when using the old keys. Ensure the current account keys are always being used.

The browser issue is probably related. Embedded in some of the URLs are the account number. If a browser has cached these URLs they will contain the previous account info. This is probably what’s causing the “paper account not found error”. Refresh the web pages or, better, empty any browser caches.

See if that works. Get back if you’re still having issues.

---

<div class="post-metadata">

### Author: ![romain](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@romain](https://forum.alpaca.markets/u/romain)
#### Post date: [January 24, 2021, 1:34pm UTC](https://forum.alpaca.markets/t/account-number-null-paper-account-not-found/4027/3 "2021-01-24T13:34:28Z")

</div>

Hi Dan,

I doubt it’s a cache issue since I tried connecting with Chromium **after** the account reset and it still didn’t work. Nevertheless, I just tried connecting again with Firefox in incognito mode, and I got the same issue : the webapp displays the “Account number: null” error. Also, the console allowed me to see the getUserData REDUX action is throwing an error : ‘_error feching user data from s3: No credentials_’

```auto
export const getUserData = () => dispatch => {
return getUserDataFromS3()
.then(data => dispatch(_setUserData({ loaded: true, data })))
.catch(e => console.error('error feching user data from s3:', e))

```

That can’t be normal… 😕 Anyway, thanks a lot for having stepped in !

---

<div class="post-metadata">

### Author: ![Dan\_Whitnable\_Alpaca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/dan_whitnable_alpaca/32/1658_2.png) [@Dan\_Whitnable\_Alpaca](https://forum.alpaca.markets/u/Dan_Whitnable_Alpaca)
#### Post date: [January 25, 2021, 8:25pm UTC](https://forum.alpaca.markets/t/account-number-null-paper-account-not-found/4027/4 "2021-01-25T20:25:46Z")

</div>

@romain Sorry for the delay. This appears to be an Alpaca hiccup. Try viewing your paper account again and see if you get an error.

---

<div class="post-metadata">

### Author: ![romain](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@romain](https://forum.alpaca.markets/u/romain)
#### Post date: [January 25, 2021, 8:45pm UTC](https://forum.alpaca.markets/t/account-number-null-paper-account-not-found/4027/5 "2021-01-25T20:45:19Z")

</div>

Dammit, I can’t get it to work 😕

 ![Capture d’écran de 2021-01-25 21-43-35](https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/3/31e8a8f1278814b8b544aa8eddf597e6d048e577.png)

---

<div class="post-metadata">

### Author: ![romain](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@romain](https://forum.alpaca.markets/u/romain)
#### Post date: [January 25, 2021, 8:45pm UTC](https://forum.alpaca.markets/t/account-number-null-paper-account-not-found/4027/6 "2021-01-25T20:45:53Z")

</div>

![Capture d’écran de 2021-01-25 21-41-35](https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/d/df0fe1b8c844f41d4f2f1c8e5b271fb56e414a43.png)

---

<div class="post-metadata">

### Author: ![romain](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@romain](https://forum.alpaca.markets/u/romain)
#### Post date: [January 25, 2021, 8:50pm UTC](https://forum.alpaca.markets/t/account-number-null-paper-account-not-found/4027/7 "2021-01-25T20:50:13Z")

</div>

Dan, I think it’s working again ! I hope the problem is solved, I’ll get back to you if not. Thanks a lot for your help !

Best regards  
Romain

---

<div class="post-metadata">

### Author: ![Dan\_Whitnable\_Alpaca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/dan_whitnable_alpaca/32/1658_2.png) [@Dan\_Whitnable\_Alpaca](https://forum.alpaca.markets/u/Dan_Whitnable_Alpaca)
#### Post date: [January 25, 2021, 8:59pm UTC](https://forum.alpaca.markets/t/account-number-null-paper-account-not-found/4027/8 "2021-01-25T20:59:41Z")

</div>

I’m not making any promises, but the issue should be resolved and shouldn’t happen again. I believe the reason it didn’t work immediately after the fix was the browser had cached some old data. Once that data was flushed it was able to find the correct paper account.

Sorry about all this. Good luck.
