Add Task General Error 6500

Add Task General Error 6500

Hello, 

I'm trying to create a task following the guidelines on the API spec, but I can't get it to work. I tried several methidsbut I'm not getting significant enough infomation to figure out what's going on.

I tried POSTing the required fields (with and without &flag=internal attached) to: https://projectsapi.zoho.com/restapi/portal/xxxxxxxx/projects/xxxxxxxxxxxxxxx/tasks/?authtoken=xxxxxxxxxxxxxxxxxxx

Payload:
{
    "person_responsible": xxxx,
    "tasklist_id": xxxxxxxxxxxxxxxxxxxx,
    "name": "Test task",
    "start_date": "11-13-2018",
    "end_date": "11-14-2018",
    "duration": 1,
    "duration_type": "days",
    "priority": "Medium",
    "description": "test description",
    "uploaddoc": "",
    "start_time": "13:00",
    "end_time": "13:00",
    "owner_work": [],
    "work_type": "work_in_percentage",
    "custom_fields": {},
    "completed_on": "",
    "reminder": "",
    "json_string": {}
}

Which yields...
{
    "error": {
        "code": 6831,
        "message": "Input Parameter Missing"
    }
}

As far as I can tell, all required parameters are there. 
{
    "error": {
        "code": 6832,
        "message": "Input Parameter Does not Match the Pattern Specified"
    }
}

Via POST:
{
    "error": {
        "code": 6500,
        "message": "General Error"
    }
}


Are all fields required?
Which fields are optional and what do they default to?
Which is the preferred method: query string or payload?
Which HTTP method is the correct one?
Do you have a working sample URL/payload which I can work off of?

As far as I can tell the API spec doesn't answer this. Any help would be appreciated, thank you.


    • Sticky Posts

    • Announcing the Zoho Projects API

      Today we're excited to announce the API for Zoho Projects where any developer can extend the project management and collaboration capabilities through our APIs and can build their own customized applications for their business needs. We've tried to make the API follow the REST (Representational State Transfer) principles and generate a XML/ JSON object which allows you to access / read / write Zoho Projects data from third-party systems like Google/Yahoo gadgets, web sites, billing & invoicing systems,
    • Have you moved to REST API?

      Dear API Users, The Documentation of our Rest API is available here . All future development will be done to this version. We are deprecating the older API today. Its documentation will no longer be available and we will also be stopping the calls to this API soon. Thanks, Prasanna


          Zoho TeamInbox Resources

            Zoho DataPrep Resources


                Zoho CRM Plus Resources

                  Zoho Books Resources


                    Zoho Subscriptions Resources

                      Zoho Desk Resources

                        Zoho Projects Resources


                          Zoho Sprints Resources


                            Zoho Orchestly Resources


                              Zoho Creator Resources


                                Zoho WorkDrive Resources




                                    Zoho Campaigns Resources

                                      Zoho CRM Resources

                                                    Design. Discuss. Deliver.

                                                    Create visually engaging stories with Zoho Show.

                                                    Get Started Now


                                                      Zoho Show Resources


                                                        Zoho Writer Writer

                                                        Get Started. Write Away!

                                                        Writer is a powerful online word processor, designed for collaborative work.

                                                                  有料プランをご利用の方