Yesterday, I reset my password. I think I accidentally selected that checkbox that deletes all API/Authtokens.
Please help. I think there is something weird going on here. As part of creating an invoice it's supposed to look into the items module of Zoho Books and its supposed to use my authtoken for that as well as creating the invoice. BUT it seems to query the items just fine (how does it do that if authtoken is really wrong?) but then for some reason it just doesn't create the invoice in Zoho Books. Here is the full response that the custom function returns:
"info_logs": [
"Well Pump - Annual,Second Refrigerator - Annual,Septic Tank Pumping - Annual",
"Single-Family Home Appliance Package - Annual,Well Pump - Annual,Second Refrigerator - Annual,Septic Tank Pumping - Annual",
{
"code": 0,
"message": "success",
"items": [
{
"item_id": 1386825000000228005,
"name": "Single-Family Home Appliance Package - Annual",
"item_name": "Single-Family Home Appliance Package - Annual",
"unit": "Year(s)",
"status": "active",
"source": "user",
"is_linked_with_zohocrm": true,
"zcrm_product_id": 3201031000003034039,
"description": "",
"rate": 429.0,
"tax_id": "",
"tax_name": "",
"tax_percentage": 0,
"purchase_account_id": "",
"purchase_account_name": "",
"account_name": "Sales",
"purchase_description": "",
"purchase_rate": 0.0,
"item_type": "sales",
"product_type": "service",
"has_attachment": false,
"sku": "",
"image_name": "",
"image_type": "",
"image_document_id": "",
"created_time": "2019-03-21T22:48:30-0500",
"last_modified_time": "2019-07-04T18:33:57-0500"
}
],
"page_context": {
"page": 1,
"per_page": 200,
"has_more_page": false,
"report_name": "Items",
"applied_filter": "Status.All",
"sort_column": "name",
"sort_order": "A",
"search_criteria": [
{
"column_name": "name",
"search_text": "Single-Family Home Appliance Package - Annual",
"search_text_formatted": "Single-Family Home Appliance Package - Annual",
"comparator": "contains"
}
]
}
},
{
"code": 0,
"message": "success",
"items": [
{
"item_id": 13xxxxxxxxxx8014,
"name": "Well Pump - Annual",
"item_name": "Well Pump - Annual",
"unit": "Year(s)",
"status": "active",
"source": "user",
"is_linked_with_zohocrm": true,
"zcrm_product_id": 320xxxxxxxx4043,
"description": "",
"rate": 90.0,
"tax_id": "",
"tax_name": "",
"tax_percentage": 0,
"purchase_account_id": "",
"purchase_account_name": "",
"account_name": "Sales",
"purchase_description": "",
"purchase_rate": 0.0,
"item_type": "sales",
"product_type": "service",
"has_attachment": false,
"sku": "",
"image_name": "",
"image_type": "",
"image_document_id": "",
"created_time": "2019-03-21T22:49:45-0500",
"last_modified_time": "2019-07-04T18:33:57-0500"
}
],
"page_context": {
"page": 1,
"per_page": 200,
"has_more_page": false,
"report_name": "Items",
"applied_filter": "Status.All",
"sort_column": "name",
"sort_order": "A",
"search_criteria": [
{
"column_name": "name",
"search_text": "Well Pump - Annual",
"search_text_formatted": "Well Pump - Annual",
"comparator": "contains"
}
]
}
},
{
"code": 0,
"message": "success",
"items": [
{
"item_id": 138xxxxxxxxx84,
"name": "Second Refrigerator - Annual",
"item_name": "Second Refrigerator - Annual",
"unit": "Year(s)",
"status": "active",
"source": "user",
"is_linked_with_zohocrm": true,
"zcrm_product_id": 320xxxxxxxx7,
"description": "",
"rate": 36.0,
"tax_id": "",
"tax_name": "",
"tax_percentage": 0,
"purchase_account_id": "",
"purchase_account_name": "",
"account_name": "Sales",
"purchase_description": "",
"purchase_rate": 0.0,
"item_type": "sales",
"product_type": "service",
"has_attachment": false,
"sku": "",
"image_name": "",
"image_type": "",
"image_document_id": "",
"created_time": "2019-04-07T21:03:42-0500",
"last_modified_time": "2019-07-04T18:33:58-0500"
}
],
"page_context": {
"page": 1,
"per_page": 200,
"has_more_page": false,
"report_name": "Items",
"applied_filter": "Status.All",
"sort_column": "name",
"sort_order": "A",
"search_criteria": [
{
"column_name": "name",
"search_text": "Second Refrigerator - Annual",
"search_text_formatted": "Second Refrigerator - Annual",
"comparator": "contains"
}
]
}
},
{
"code": 0,
"message": "success",
"items": [
{
"item_id": 138xxxxxxxxxxxxx3,
"name": "Septic Tank Pumping - Annual",
"item_name": "Septic Tank Pumping - Annual",
"unit": "Year(s)",
"status": "active",
"source": "user",
"is_linked_with_zohocrm": true,
"zcrm_product_id": 32xxxxxxxxx31,
"description": "",
"rate": 72.0,
"tax_id": "",
"tax_name": "",
"tax_percentage": 0,
"purchase_account_id": "",
"purchase_account_name": "",
"account_name": "Sales",
"purchase_description": "",
"purchase_rate": 0.0,
"item_type": "sales",
"product_type": "service",
"has_attachment": false,
"sku": "",
"image_name": "",
"image_type": "",
"image_document_id": "",
"created_time": "2019-04-07T21:04:09-0500",
"last_modified_time": "2019-07-04T18:33:58-0500"
}
],
"page_context": {
"page": 1,
"per_page": 200,
"has_more_page": false,
"report_name": "Items",
"applied_filter": "Status.All",
"sort_column": "name",
"sort_order": "A",
"search_criteria": [
{
"column_name": "name",
"search_text": "Septic Tank Pumping - Annual",
"search_text_formatted": "Septic Tank Pumping - Annual",
"comparator": "contains"
}
]
}
},
{
"code": 14,
"message": "Invalid value passed for authtoken."
}