Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code.tar.gz remains when function throws error #28

Open
rdmchr opened this issue Mar 3, 2022 · 10 comments
Open

code.tar.gz remains when function throws error #28

rdmchr opened this issue Mar 3, 2022 · 10 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! help wanted Extra attention is needed

Comments

@rdmchr
Copy link

rdmchr commented Mar 3, 2022

I got this error when I tried deploying my function:

✗ Error Request body larger than maxBodyLength limit

After exiting the CLI did not remove the code.tar.gz file it created. I believe the CLI should remove the file even if it crashes since there is no reason to leave it.

@lohanidamodar lohanidamodar added the bug Something isn't working label Mar 15, 2022
@christyjacob4
Copy link
Member

Thank you for raising this @rdmchr . We'll look into this 🙂

@stnguyen90
Copy link
Contributor

Looks like this was addressed for the case where the code is less than 5MB:

response = await client.call('post', path, {
'content-type': 'multipart/form-data',
}, payload).catch(err => {
fs.unlinkSync(archivePath);
throw err
});

but may still happen if the code is more than 5MB:

response = await client.call('post', path, headers, payload);

@stnguyen90 stnguyen90 added good first issue Good for newcomers help wanted Extra attention is needed labels Jun 23, 2023
@Haimantika Haimantika added the hacktoberfest Issues that can win you some cool swags! label Sep 30, 2023
@Vaibhav91one
Copy link

Vaibhav91one commented Oct 1, 2023

@Haimantika Can I work on this issue.

@Haimantika
Copy link

@Haimantika Can I work on this issue.

Hi @Vaibhav91one , I've assigned the issue to you! Happy Hacktoberfest 🎃!

Notes:

Please update us with your progress every 3 days, so that we know you are working on it.
Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

@Vaibhav91one
Copy link

@Haimantika Can I work on this issue.

Hi @Vaibhav91one , I've assigned the issue to you! Happy Hacktoberfest 🎃!

Notes:

Please update us with your progress every 3 days, so that we know you are working on it. Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

I just wanted to give an update. That I am working on this and talking to some people related to this issue.

@Vaibhav91one
Copy link

Vaibhav91one commented Oct 6, 2023

Will be making a PR soon.

@Vaibhav91one
Copy link

Will be making a PR soon.

@stnguyen90 Have made a PR please review

@Haimantika
Copy link

Will be making a PR soon.

@stnguyen90 Have made a PR please review

Can you link the issue to the PR?

@Vaibhav91one
Copy link

Will be making a PR soon.

@stnguyen90 Have made a PR please review

Can you link the issue to the PR?

#99

@Souptik2001
Copy link

Hey @stnguyen90 Can you please assign me this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants