Getting error while calling the Leave Booked and Balance Report API
Hi,
I get the following error
{"error":{"code":7213,"message":"The
provided OAuth token is
invalid."},"uri":"/api/v2/leavetracker/reports/bookedAndBalance"}
The OAuth token is valid as
I am using it in other APIs. Can you please let me know why
this error occurred?
dat = Map();
dat.put("recordId","67512000000410165");
dat.put("from","01-Jan-2022");
dat.put("to","31-Jan-2022");
dat.put("unit","Day");
respo = invokeurl
[
url :url
type :GET
parameters:dat.toMap()
connection:"people_authorization"
];
info respo;
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
Meet the Zoho People experts in your city!
Dear users, We are delighted to invite you to the Zoho People's user community meetup. We are stoked to visit our users in their cities and help them with all things Zoho People. Join us for a day of insightful Zoho sessions, interactions with other
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.