Relative Content

Tag Archive for apigoogle-playgoogle-oauth

request to https://www.googleapis.com/oauth2/v4/token failed, reason: read ECONNRESET

When I try to use the https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts method to create a payment item, I find that I can’t send the request past, but I have connected to the proxy and verified that the proxy is connected correctly.However, if I use a VPN, I can send requests normally
const response = await axios.post(${GOOGLE_PLAY_API_URL}/${packageName}/inappproducts, { packageName, ...productData }, { headers: { Authorization: Bearer ${accessToken}`,
‘Content-Type’: ‘application/json’,
},