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’,
},
params: {
autoConvertMissingPrices: true
},
httpsAgent
}
);`
Is there a way around this?
I’d like to be able to create a payment through a VPN instead of having to use a VPN, but the current logic can only be done if I have the VPN turned on.
This is now error
Error creating in-app product: request to https://www.googleapis.com/oauth2/v4/token failed, reason:
reason didn’t put back the relevant content
lingxuan du is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.