Unable to update Account record
I am making a call to
https://www.zohoapis.com/crm/v7/Accounts/${account_id} using Axio Put. The payload I am sending it is in the correct form as per the docs: { data: [ Account_Name: 'Test Name' ] }. However, I continually get a Bad Request error (status 400). The data returned is '<!doctype html><html lang="en"><head><title>HTTP Status 400 – Bad Request</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 400 – Bad Request</h1></body></html>'. I'm not sure what I'm doing wrong. My client has access to the following scopes: ZohoCRM.org.ALL ZohoCRM.modules.ALL ZohoCRM.settings.ALL contracts.contracts.ALL. I think that's all I need to be able to update records. Any idea what's wrong??
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.