Number of parameters is more than specified
I'm trying to search for a especific file on my entire team folder, using the search[name] query parameter on the URL, through an API call on zoho Creator. The problem i'm getting the following error: {"errors":[{"id":"F6012","title":"Number of parameters is more than specified"}]}
I have checked the API documentation and i can't get why this isn't working, though i'm not sure if my parameters are totally right. I'll leave my code down below for further assistance.
//Run this workflow daily to look for the document id of every product if there are new ones added
m_header = Map();
m_header.put("Accept","application/vnd.api+json");
postFields = {"data":{"attributes":{"resource_id":"xxxxxxxxxxxxxxxxxxxx","shared_type":"everyone","role_id":"6"},"type":"permissions"}};
//This is the team folder id: xxxxxxxxxxxxxxxxxxxxxxx
response = invokeurl
[
url :"https://workdrive.zoho.com/api/v1/teams/xxxxxxxxxxxxxxxx/records?search%5Bname%5D=EPD"
type :GET
parameters: postFields
headers:m_header
connection:"workdrive_oauth_connection"
];
info response;