Can I use drop in API Components in client side (ReactJs) directly? CORS Policy Error

I am trying to call this function in my frontend but I am getting the error below

Access to XMLHttpRequest at ‘https://api-sandbox.dwolla.com/token’ from origin ‘https://localhost:3000’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: It does not have HTTP ok status.

So I want to know if any Dwolla API calls can be used in frontend Directly or if I have to use all the APIs on the Server End
Code-
axios(https://api-sandbox.dwolla.com/token,
{
method: ‘GET’,
headers: {
Accept: ‘application/vnd.dwolla.v1.hal+json’,
Authorization: Bearer ${dwollaToken}
}
}
);
const { _links: payload } = rootResponse.data;
return payload;
} catch (err) {
console.error(err);
return err;
}
}

Hi @Ank , this looks to be the same error response as the thread below. Please let us know if you have any follow up questions after reviewing!