ProofHub / api_v3

ProofHub Bolt's API
18 stars 8 forks source link

ProofHub API is answering with Invalid Request #7

Closed SpaghettiCodeBoy closed 2 years ago

SpaghettiCodeBoy commented 2 years ago

Hi, I'm trying to update a task in my ProofHub Task Board via the API. Creating Tasks is working, but updating tasks is not. It worked in the past with the exact same source code and data. All I try to do is assign the Task to a user.

If I try to pass the request now, the answer is 301 - Invalid Request.

My Code: image

My JSON Object: image

ProofHub commented 2 years ago

Hi,

Thanks for contacting. You have passed the "stage" parameter with value 0, so the application looks for a stage with id 0 which is invalid. If you only want to assign a user to the task, you can skip the stage parameter.

Do let us know if this solves your issue. For any further questions, you can also directly contact us on support@proofhub.com