@kiran02 can u please provide a sample response .
{
status: response.status,
statusText: response.statusText,
data: response.config.data,
}
as you are referring there is a statusText inside response in this line statusText: response.statusText, can u please provide a sample response
and also after calling on-discover api we get 202 accepted then only we have to return the response in this format
{
status: response.status,
statusText: response.statusText,
data: response.config.data,
}