# Error when using "codecrafters test"

**URL:** <https://forum.codecrafters.io/t/error-when-using-codecrafters-test/321>\
**Category:** Bug Reports\
**Created:** [May 9, 2024, 5:16am UTC](https://forum.codecrafters.io/t/error-when-using-codecrafters-test/321 "2024-05-09T05:16:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel-allex](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/daniel-allex/32/285_2.png) [@daniel-allex](https://forum.codecrafters.io/u/daniel-allex)\
**Post date:** [May 9, 2024, 5:16am UTC](https://forum.codecrafters.io/t/error-when-using-codecrafters-test/321/1 "2024-05-09T05:16:41Z")

</div>

This is for HTTP Server stage 4. It was previously working, using Go on Ubuntu WSL. Between the last successful run and when it stopped working, I did delete Go and reinstall it, also setting the path to Go via zshrc. I’ve since deleted /usr/local/bin/codecrafters and reinstalled codecrafter’s CLI and still get the same issue.

```auto
root@LAPTOP-G4RJJCES:/mnt/c/Users/danny/Documents/BuildYourOwn/HTTPServer/codecrafters-http-server-go# codecrafters test
Initiating test run...
push changes: add all files: error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date

```

---

<div class="post-metadata">

**Author:** ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)\
**Post date:** [May 9, 2024, 10:36am UTC](https://forum.codecrafters.io/t/error-when-using-codecrafters-test/321/2 "2024-05-09T10:36:56Z")

</div>

Hey @daniel-allex! We’re working on improving the error message here, this is related to [1MB File size restriction - #3 by rohitpaulk](https://forum.codecrafters.io/t/1mb-file-size-restriction/250/3) (that thread has details on how to fix the error!)

---

<div class="post-metadata">

**Author:** ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)\
**Post date:** [May 13, 2024, 8:16pm UTC](https://forum.codecrafters.io/t/error-when-using-codecrafters-test/321/3 "2024-05-13T20:16:02Z")

</div>

Going to mark this as closed, we should have the new error message deployed later this week!

---

<div class="post-metadata">

**Author:** ![pepizarro](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/pepizarro/32/348_2.png) [@pepizarro](https://forum.codecrafters.io/u/pepizarro)\
**Post date:** [May 15, 2024, 2:06am UTC](https://forum.codecrafters.io/t/error-when-using-codecrafters-test/321/4 "2024-05-15T02:06:32Z")

</div>

I had the same error and it was because of the main binary that was built in the tmp directory, or at least that was in my case (golang). fixed it by adding the directory to the .gitignore and also just deleting the binary

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [May 22, 2024, 2:07am UTC](https://forum.codecrafters.io/t/error-when-using-codecrafters-test/321/5 "2024-05-22T02:07:12Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
