i have facing issue on my development using react native. i have been auth with this : Customer Account API reference
but im stuck on obtain access token . the error is :
```
“error”: “invalid_client”,
“error_description”: “The client credentials provided are invalid or missing.”
``
i do with public type setting on admin, the fetch like this one :
```
const headers = {
"Content-Type": "application/x-www-form-urlencoded",
};
const response = await fetch(Storefront.tokenEndpoint, {
method: “POST”,
headers: headers,
body,
});
``
and body request like this :
```
const body = new URLSearchParams();
body.append(“grant_type”, “authorization_code”);
body.append(“client_id”, Storefront.clientId);
body.append(“redirect_uri”, Storefront.redirectUri);
body.append(“code”, code);
body.append(“code_verifier”, codeVerifier);
```
i guranted same as authorize for redirect, code_verifier, & redirect_uri.
but it hard to find where this error come from