Skip to content

The function requires a "message" parameter but none was provided Error while running the pipeline on cloud  #267

Description

@amansingh0330

Summary:

The function requires a "message" parameter but none was provided can be seen when i tried to run the pipeline on anvil server

Debug logs

ERROR (43360) file:///C:/Users/zadmin/Desktop/zetaforge_repository/ZetaForge/frontend/server/middleware.ts:13:12: Server returned an error at path: executePipeline
err: {
"type": "MissingParameterError",
"message": "The function requires a "message" parameter but none was provided.",
"stack":
MissingParameterError: The function requires a "message" parameter but none was provided.
at C:\Users\zadmin\Desktop\zetaforge_repository\ZetaForge\frontend\node_modules\isomorphic-git\index.cjs:5491:17
at C:\Users\zadmin\Desktop\zetaforge_repository\ZetaForge\frontend\node_modules\isomorphic-git\index.cjs:1026:16
"caller": "git.commit",
"name": "MissingParameterError",
"code": "MissingParameterError",
"data": {
"parameter": "message"
}
}
[10:52:51.384] ERROR (43360) <specBuilder (file:///C:/Users/zadmin/Desktop/zetaforge_repository/ZetaForge/frontend/server/fileSystem.js:67:18)>: ENOENT: no such file or directory, stat 'C:\Users\zadmin\Desktop\zetaforge_repository\ZetaForge\frontend\core\blocks\hf-image-classification\specs.json

Expected behavior:

The pipeline should run properly and provide the image on the basis of the prompt provided to the model

Actual behavior:

Getting the error
The function requires a "message" parameter but none was provided

image

Steps to reproduce:

  1. Load the flux pipeline
  2. Configure anvil server details on anvil configuration
  3. Press run button

Zetaforge version:

0.4.3 (latest master)

Operating System

Windows

Other operating system:

No response

Logs:

ERROR (43360) <file:///C:/Users/zadmin/Desktop/zetaforge_repository/ZetaForge/frontend/server/middleware.ts:13:12>: Server returned an error at path: executePipeline
    err: {
      "type": "MissingParameterError",
      "message": "The function requires a \"message\" parameter but none was provided.",
      "stack":
          MissingParameterError: The function requires a "message" parameter but none was provided.
              at C:\Users\zadmin\Desktop\zetaforge_repository\ZetaForge\frontend\node_modules\isomorphic-git\index.cjs:5491:17
              at C:\Users\zadmin\Desktop\zetaforge_repository\ZetaForge\frontend\node_modules\isomorphic-git\index.cjs:1026:16
      "caller": "git.commit",
      "name": "MissingParameterError",
      "code": "MissingParameterError",
      "data": {
        "parameter": "message"
      }
    }

Recording:

No response

Anything else?:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions