Bug in setExpiryTime
EN el archivo "vendor\zohocrm\php-sdk\src\oauth\ZohoOAuthClient.php" del SDK hay un problema en la funcion getTokensFromJSON() y es que al hacer el setExpiryTime(), llama a la funcion getCurrentTimeInMillis() que retorna los milisegundos y suma los segundo de expitesIn que retorna la respuesta de la api lo cual ase q el tiempo de expiracion de expiracion del token sea como 3 segundos en vez de 1 hora como deberia ser
Zoho CRM PHP SDK v2 - Concept Issues
Hi, It seems that although you are able to provide a applicationLogFilePath configuration parameter when initializing ZCRMRestClient, you are unable to do anything about OAuthLogger, nor are you able to completely turn off OAuth logging in the SDK. Here's a snippet from zcrmsdk\oauth\utility: public static function writeToFile($msg) { $filePointer = fopen(dirname(__FILE__) . "/OAuth.log", "a"); fwrite($filePointer, sprintf("%s %s\n", date("Y-m-d H:i:s"), $msg)); fclose($filePointer);
Seeing API timeouts today
Hi, I'm experiencing constant timeouts in API calls and also authentication today, checking the status page there's no outage information. Was there any change in the API that would generate this issue? Thanks.
Kaizen #7 - URL Encoding while making API Calls
Welcome to another week of Kaizen. In this post, we will discuss things you need to handle in your code before you start making API calls to Zoho CRM. If you have an application that is integrated with Zoho CRM, it will contain the code for making API calls with different request methods—GET, POST, PUT, and DELETE. We will explain the things you need to handle for each of these methods, before you use it to make API calls to Zoho CRM. a. GET method A GET method is used to retrieve data/resource
Can't retrieve access token via JavaScript implicit flow
I am having problems retrieving the expected response containing the access token, using these instructions: https://www.zoho.com/accounts/protocol/oauth/js-apps/access-token.html In the responsive, I instead receive a Zoho login box that appears to want credentials. Maybe I am misunderstanding, but I was hoping to make an AJAX call to retrieve the access token, then use that token to make subsequent API calls. All this should be transparent to the user. Is this possible via JavaScript alone?
How to add new Line to Button Action
Hey guys, Got a very simple function that looks at an account and returns a basic stack of information for that account that we need to keep our vendor's happy. The function is simple, it goes into the Account, finds all the data and returns a string. The only issue is the "\n" (Newline) is not being encoded to <br> on when the button is actioned. I tried \r but that actually returns the string "\r". Is this a bug or is there another way to implement line breaks? accountId = accID.toLong(); rec
Deploying python crm sdk in google cloud platform(GCP)
Deploying python crm sdk in google cloud platform(GCP), not working. 1. After deployment in google cloud for client_library.log file in log folder its giving an exception called -read-only file for example Exception: [Errno 30] Read-only file system: '/20191120t105536.422578541552524233/log/client_library.log' 2. the zcrm_outhtokens.pk file data is different when we run it locally and when we deploy it google cloud and run it for example in local ->zcrm_outhtokens.pkl--file data is € •
How to make api connection through node js for Zoho CRM
Hi, I have tried to make an api call from Zoho Extension to Zoho CRM. But I get an error "invalid client error". Please help me to make an api call to get the details from Zoho CRM and also I'm in need of sample code for reference.
Problem with inserting record into custom module API V2 cURL
Hi, I have a problem with custom module, i am using the correct module name CustomModule2, but after sending the data they do not appear in Zoho module. With standard modules (Contacts) everything works fine. I do not know what the problem is. My code: Thanks
PHP SDK 2.0 - Can't get custom views for Deals module
Hello, I've been encountering an issue with trying to fetch a list of custom views using the PHP SDK. Using this same module instance, i am able to fetch all the Deals records I want, it works very well. But when I try to get my list of custom views, I encounter this error: and I've attached the response info below with IPs blanked out Could this possibly be an error with permissions when I generated the access token? I'm unable to think of any other issues. Thank you in advance.
Update my code from API v1 to v2
Hi guys Ive got a simple form that when submitted inserts the form values into Zoho. The Zoho code is very simple: $curl_connection = curl_init('https://crm.zoho.com/crm/WebToLeadForm'); curl_setopt($curl_connection, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($curl_connection, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"); curl_setopt($curl_connection, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl_connection, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl_connection,
Bug in php-sdk
When the oAuth token is created, the expiry time is managed in Milliseconds https://github.com/zoho/zcrm-php-sdk/blob/master/src/oauth/ZohoOAuthClient.php#L119 But, the response object is saying 'expires_in=3600' to it, which is only 3.6 seconds, instead of one hour. This needs to be multiplied by 1000 before using it in setExpiryTime() For helping people google this problem, you'll see this trigger {"error":"access_denied"} randomly, or with the exception "Exception while fetching access token from
Our User login to ZOHO CRM
Is possible that our own crm users can login to ZOHO CRM or Our contacts can login to ZOHO CRM
The zoho Java SDK often throws exceptions
We updated our app to use version 2.0.1 of the zoho java-sdk recently. Everything was fine for a while but we are seeing quite a few ZCRMException being thrown where the exception message is 'org.apache.http.NoHttpResponseException: www.zohoapis.com:443 failed to respond' What is the cause of this error? It appears the Zoho server is not responding at all or it is too slow so the Apache exception is being thrown. Is there a way I can increase the Zoho receive timeout to see if that will help?
Can't connect Books to CRM Sandbox
Here is what I want to achieve - Generate test invoices against copies of test data. Here are the mountains I've had to climb so far. 1. There's no 'books' sandbox. You have to create a 'Trial'. OK. Created. 2. You can't link that Trial with production data - "Currently you can integrate one Zoho CRM account with any one organization in the Zoho Finance Suite(Zoho Books or Zoho Invoice, Zoho Expense, Zoho Subscriptions, Zoho Inventory) organization." 3. OK, so I guess I have to link it to sandbox?
BulkAPIResponse - BulkData.Count Crash with CMD
Hello. I had create winform in C#. This is work fine with your help, but i have got new problem when i start it with CMD (i administrator too). I select records with pagination. -> while (Limit != 0) ZCRMModule ModuleSel = ZCRMSDK_CRUD.ZCRMModule.GetInstance(module); ZCRMSDK_RESPONSE.BulkAPIResponse<ZCRMSDK_CRUD.ZCRMRecord> response = ModuleSel.GetRecords(null,Page,200,null) ; Limit = response.BulkData.Count; it work normally but when i star with cmd, this crash on "Limit = response.BulkData.Count;"
Kaizen #5 - Environments and Domains in Zoho CRM [Part 1/2]
Hello everyone! Welcome to another week of Kaizen. In the last Kaizen post, we discussed Troubleshooting OAuth2.0. By now, you must have got a hold on OAuth2.0 authorization. Now let us dive deep into other details related to OAuth2.0. What you will learn from this post? If you want to integrate your application with Zoho CRM, this post will help you understand the different environments available, and how to handle different domains for your application. In this post, we discuss handling domains
Why I cannot get the response of insertRecords api method?
Hi, I'm using "https://crm.zoho.com/crm/private/xml/Leads/insertRecords?authtoken=MyAuthToken&scope=crmapi&xmlData=Postdata" api to insert record into the ZohoCrm but when i try to make post request I get the responses as " Unable to process your request. Please verify if the name and value is appropriate for the "xmlData" parameter error" and sometimes I get response content type as: text/html instead of text/xml but when I use Postman to post the same url, it works without any problem. I almost
Get Products
When I get the records from the Products module, 200 items come with the postman. But I have about 500 products. How do I draw all my products?
ERROR 407 HTTWebRequest C# WindowsForm
Hi. My problem on CMD during but trying found solution, bur i've got New problem When i Deploy My WindowsForm on new environement. On my computer, it's ok, but on this second no. 19-11-14 09:08:57 [ERROR]: Exception in Type: HttpWebRequest at Method: System.IO.Stream GetRequestStream(System.Net.TransportContext ByRef) in File: at Line: 0 Exception in Type: HttpWebRequest at Method: System.IO.Stream GetRequestStream() in File: at Line: 0 Exception in Type: ZohoHTTPConnector at Method: System.String
API v2- Record Format
Call someone tell me what are the field format/requirement for EVERY FIELDS. Example: "Single Line" or "Phone" etc is not enough for error Handling ! - Does the 'Single Line' accept special character ? Is it Alphanumeric ? - What are the 'Phone' format ? Does it accept a string or just number ? The sample doesn't tell if '-' or '()' are accepted I can't find enough information on this. I already have found this, but like I said, this is not enough https://help.zoho.com/portal/kb/articles/standard-modules-fields#Leads
self client generated code duration
The code I have created from the self client is canceled after a while and I have to generate the acces token again. What do I have to do to make this code constantly active?
API for records expects wrong type for territories field
Hi, When I try to update a record with an array as the value for the territories field I get an "invalid data" response saying that the Territories field should be of type "text". This is a sample of the request data I'm sending: { "data": [ { "First_Name": "John", "Territories": ["New York", "National"] } ] } This is the response: { "data": [ { "code": "INVALID_DATA", "details": { "expected_data_type": "text",
Identify Sanbox in Webhooks
Hi everybody ! I use the Sanbox environment and Webhooks. I want to identify if webhooks are called from Sanbox or not. The User-Agent is always "crm.zoho.eu" even on the Sandbox. Is there a parameter like ${SANBOX} or something else that would do that? Thanks !
PhoneBridge API for 3rd party integrators
Hello, I called support and they stated that the PhoneBridge API used by 3rd party integrators for other phone systems is in development and is not currently available. Is that true and when is it expected to be available?
The Ruby SDK for Zoho CRM is released!
Hello everyone! Have you been waiting to integrate your Ruby application with Zoho CRM and use our APIs? Well, here's good news! We are pleased to inform you that we have added a new gem to our collection of SDKs—the Ruby SDK! The Ruby SDK comes bundled with all the necessary classes and methods to make API calls to Zoho CRM easily. All you have to do is install the gem using the below command and use the necessary methods to make API calls from your application. gem install ZCRMSDK Refer to our
PHP SDK token expires
Hi, My application has been integrated with Zoho CRM with the API. I created the client, and used the self client option to generate a grant token. Token persistence is set to file. I generate the access and refresh tokens within the time limit selected from the grant token. They are persisted to the set file. Requests all work fine. However after hour or so they no longer work. And I have to get a new grant token to generate new access / refresh tokens to get it to work again. From the documentation,
ZOHO API contacts
Hallo community, this is my first topic here and my question is, we have some Contacts with more than 3 E-Mails or 3 phone-numbers, how cann we add them to our zoho crm using "ZOHO API , phpSDk" , all E-mails and Tel-Numbers should be added? thank you and regards
Zoho CRM API
Hi, I am trying to insert record to a custom module. I am using the C# SDK. Where can I find the sample code for it? I don't see enough discussions for insertRecords in v2. Can you please provide a sample code?
Serverside Java SDK .in domain support
I have been trying to access OAuth APIs using Java SDK. Adding .in domain support in iamURL, apiBaseURL and domainSuffix is not working. So is there a support for .in domain or not? Also if not, any timeline for release?
Installing Composer
Hello experts, I'm trying to install the composer so I can use the API but my problem is that my website is in a hosting and I don't have access to install the composer. How could I solve this to be able to use the API?
Adding Potentials via the API
Below is the code I'm running to add Potentials using the API. It worked prior to Dec 1st but now does not add the potential even though a successful completion code is returned. I'm thinking this has something to do with stopping support for SSL, but I'm not sure why this code would have anything to do with that. I did create a new authentication code. If I paste the URL string created from this program into the browser, a new potential is added so I know the string is correct. Here's the code:
How to add an activity and note associated with a contact-id via the Zoho CRM API ?
I checked the documentation in this link: https://www.zoho.com/crm/developer/docs/api/insert-records.html But, I am not sure what attributes/fields to pass to create an activity and note associated with a contact-id in the CRM. Could anyone help us with the API Documentation for those two: inserting Activity and inserting Note for a contact ?
Extended Mail Merge Fields
Is there a way to create a template that will take mail merge information, and "reach" somewhere else for the input? We have a custom module that contains many fields of information for each record. The record is an object we are selling with the fields being attributes or features of the record. The fields within the record are very short, basically describing a SKU. We would like to create a template that allows us to create a proposal of the record to send to customers. The template record ID
How to know lead ID
Hi, I'm developing a WooCommerce plugin for Zoho CRM, and I'm stuck in this question: I want to do a lead -> contact conversion when a lead purchase something trough WooCommerce. Have looked in the API documentation and I must send the Lead ID in the API call. How can I retrieve the ID of that Lead (I just know the email, first name...)? Thanks in advance.
postman cannot get response
I'm trying to get zohocrm data with postman.But I have some problems in practice.This is a screenshot of my operation in postman. the client_id & client_secret is right.I got the code from self client.I entered the request address, but I couldn't get the data.
Email of owner - module ACCOUNTS - CRM
Hi. I ve got small question. With C# SDK, how can read Email For an Owner or createdBy for exemple ? My Simple Code : ZCRMSDK_CRUD.ZCRMModule module = ZCRMSDK_CRUD.ZCRMModule.GetInstance(Monmodule); ZCRMSDK_RESPONSE.APIResponse response = module.GetRecord(ID); ZCRMSDK_CRUD.ZCRMRecord record = (ZCRMSDK_CRUD.ZCRMRecord)response.Data; --> FOR NAME record.Owner.FullName.ToString(); IS OK BUT FOR EMAIL ? Thanks a lot.
Associating additional data when creating a lead programmatically
When creating leads via the record APIs, is it possible to add an attachment? I've got data that can be, say, up to a MB to be associated with a lead. I see that the UI permits attachments, which feel ideal.
Sending Email via Zoho Triggers the "Edit" Method for Subscription APIs
Hey all — This has been a massive pain in my neck since moving to the new API and am wondering if this is intended functionality. I have an issue where my server is subscripted to Zoho update events, but when I send out mass email through Zoho, it pings an "Edit" event for every record that the email was sent to. I understand conceptually why because the emails are added to the user records, but ideally I would like for this to not happen because it currently overloads my server with HTTP calls.
Help an old Hippie with an easy problem...
Been figuring it out on my own for way too long and want to take a short cut. Can someone who knows better throw me the http call I'd send to update a record and the one to create a new one? I can manage getting a token but don't want to spend hours trying to figure it out the call when the community is so knowledgeable. I'm using PERL and LWAgent. I can construct the URL if I know the format but that's what always gives me anguish.
Next Page