Composite API working ubnormally
Hello,
1. If we call it with "parallel_execution": true it has REQUEST_TIMEOUT. For example:
Light request:
{- "parallel_execution":true,
- "__composite_requests":[
- {
- "uri":"/crm/v6/org",
- "method":"GET"
}, - {
- "uri":"/crm/v6/users?type=CurrentUser",
- "method":"GET"
}
]
}
Answer is:
{- "__composite_requests":[
- {
- "code":"REQUEST_TIMEOUT",
- "details":{},
- "message":"request is not yet received by our service, kindly validate the request",
- "status":"error"
}, - {
- "code":"REQUEST_TIMEOUT",
- "details":{},
- "message":"request is not yet received by our service, kindly validate the request",
- "status":"error"
}
]
}
2. When we call with "parallel_execution": false request is ok, but some functions does not work.
For example, if we call function "uri":"/crm/v6/users?type=CurrentUser" answer is:
{- "__composite_requests":[
- {
- "code":"SUCCESS",
- "details":{
- "response":{
- "headers":{},
- "status_code":404,
- "body":{
- "code":"INVALID_URL_PATTERN",
- "details":{},
- "message":"Please check if the URL trying to access is a correct one",
- "status":"error"
}
}
}, - "message":"composite sub request executed successfully",
- "status":"success"
}
]
}
At the same time if we call directly function /crm/v6/users?type=CurrentUser outside composite Api answer is ok.
Regards,
Nikolay
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
-
-
-
-
-
-
-
-
-
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.