Parameter 'completedDate' value is invalid

I’m encountering an error with the REST Api when fetching tasks and passing the completedDate parameter. I get Parameter 'completedDate' value is invalid . I’m able to filter on user and status, but this parameter is giving me issues.
Here is the curl call with the auth token omitted
curl -g -X GET -H "Authorization: Bearer tokenhere" https://www.wrike.com:443/api/v4/tasks?completedDate={"start":"2024-04-12T11:49:45Z", "end":"2024-04-13T11:49:45Z"}&responsibles=["KUAHGGM2"]
 
 
0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
4 commenti

Hi Corey Ganser, welcome to the Community 👋 

I've now asked our API experts to help you, they'll reach out to you by email. Is there anything else you need help with? 

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

No other things, thanks!

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Ah! I'd love to see the answer to the question posted here! 

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Chris Baker I was passing it as a query param instead of the body of the API call. After moving it to the body of the request, it worked. 

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Parameter 'completedDate' value is invalid
[this list is visible for admins and agents only]

Su
Didn’t find what you were looking for? Write new post