Back

[SOLVED] Build with the requested ID is building and not ready for execution.

  • 0
  • Cloud
Marius Bolik
19 Sep, 2023, 12:51

Hello, I cant deploy my function to the cloud. I've already deployed this function before without errors.

This is the http response of the function: "Build with the requested ID is building and not ready for execution."

I see this in the logs:

Duplicated document: Duplicate entry '1' for key '_24101_functions.PRIMARY'

Deployment is displayed as failed.

Edit: I activated the previous working deployment and also this gives me an error now:

{"error":{"code":500,"message":"Invalid request"}}

TL;DR
User is reporting an issue with deploying a function to the cloud. They receive an error message stating "Build with the requested ID is building and not ready for execution." They also notice a duplicated document error in the logs. Solution: The issue has been resolved. A fix has been implemented and users are advised to try deploying the function again. The user also provides their project ID for further investigation.
Meldiron
19 Sep, 2023, 13:14

Hello there πŸ‘‹ Let me take a look

Meldiron
19 Sep, 2023, 13:15

Can you please provide me with your Project ID?

Meldiron
19 Sep, 2023, 13:17

I tried it on my end, and I cannot reproduce. I believe this coudl be related to our maintenance window. With your project ID, ill check logs of maintenance task to see if anything went wrong.

Meldiron
19 Sep, 2023, 13:17

^ @Marius Bolik

Marius Bolik
19 Sep, 2023, 13:30

Hello @Meldiron, project is "mysf".

Function that fails to deploy is "predict". Failed deplyoment is "6509a1ad53adc2ff286c". Previous deployment which now also fails to execute is "64fb2978c12a8fa95290".

To use this function you need to provide a file ID. e.g. "2OgLKPyK"

Meldiron
19 Sep, 2023, 13:38

It's confusing. Based on ID in error message, I found different project ID.

Can you confirm with me that mysf is project ID? In project settings?

Marius Bolik
19 Sep, 2023, 13:52

@Meldiron Here is a screenshot of the project id and a screenshot of the function.

Marius Bolik
19 Sep, 2023, 13:54

appwrite.json: { "projectId": "mysf", "projectName": "API" }

Meldiron
19 Sep, 2023, 13:56

Thanks. Actively investigating the problem

Meldiron
19 Sep, 2023, 14:08

@Marius Bolik I believe we found the problem, we are now discussion how we will address it. Ill keep you posted

Marius Bolik
19 Sep, 2023, 14:08

@Meldiron Thank you for the fast investigation!

Meldiron
19 Sep, 2023, 14:24

We started actioning to fix the problem

Meldiron
19 Sep, 2023, 14:27

@Marius Bolik Fix should be live. Can you try agian please?

Marius Bolik
19 Sep, 2023, 15:00

@Meldiron Thank you! It seems to work now.

Meldiron
19 Sep, 2023, 15:01

Amazing ✨ Thanks for reporting this, you prevented a lot of trouble for other users as well πŸ™

Meldiron
19 Sep, 2023, 15:01

cc @Christy Jacob @dlohani

dlohani
19 Sep, 2023, 15:02

@Marius Bolik thanks for catching it early on

Marius Bolik
19 Sep, 2023, 19:09

@dlohani @Meldiron It was a pleasure to help you guys! Appwrite is an awesome piece of software! πŸ˜ƒ

Drake
19 Sep, 2023, 20:03

[SOLVED] Build with the requested ID is building and not ready for execution.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more