engravo / clickup-flow-connector

MIT License
5 stars 5 forks source link

issues with body/time_spent when creating a new task #1

Open Artybunny opened 3 years ago

Artybunny commented 3 years ago

The API 'clickup-20connector' returned an invalid response for workflow operation 'Create_task' of type 'OpenApiConnection'. Error details: 'The API operation 'CreateTask' requires the property 'body/time_spent' to be of type 'String' but is of type 'Integer'.'

i however don't use the time spent when creating tasks but it makes my flows fail it does create the task but i still get a error in power automate

m1ketayl0r commented 2 years ago

I'm also seeing this --- the task is created, but the flow stops with the error above. Did you find a solution?

as-fast commented 1 year ago

Change response for time_spent to integer. Doc is incorrect (shows string)

unowho13 commented 1 year ago
  1. Open the JSON file in an editor.
  2. Search for spent - there are 3-4 of them in the file.
  3. Ensure all of them are set to integer and format int32. Search for integer in the json file if you are unsure of the format.
  4. Save and follow instruction above.
  5. Recommend testing in the Custom Connector area instead of Power Automate to help with troubleshooting.
  6. If you are still getting an error, enable 'Swagger Editor' to review the code. Copy/paste the code from Swagger editor into your editor of choice to use find/replace.