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