Skip to main content
Question

Error when moving a card to another phase

  • February 27, 2025
  • 1 reply
  • 10 views

miguel-rodolpho

Hi everyone!

 

I am currently using python to move a card to a certain phase in my pipe, using the following code:

 

                payload = {
                    "query": f"""
                        mutation {{
                            moveCardToPhase (input: {{
                                card_id: "1085486680",
                                destination_phase_id: "329687449"
                            }}) {{
                                card {{
                                    id
                                    current_phase {{
                                        name
                                    }}
                                }}
                            }}
                        }}
                        """
                }   

                response = requests.request("POST", pipefy_url, json=payload, headers=pipefy_headers)
                print(response.text)

 

However, right now response.text gives me the following error:

 

{"data":{"moveCardToPhase":null},"errors":[{"message":"Card could not be moved to phase id: 329687449","locations":[{"line":3,"column":29}],"path":["moveCardToPhase"]}]}

 

Has anyone encountered this issue before?

 

Thanks in advance!

1 reply

Forum|alt.badge.img+11

Hi.

Verify if there’s an empty mandatory field in the current card’s phase.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings