ISteamMicroTxn/InitTxn return error,
远程服务器返回错误: (500) 内部服务器错误。 <html><head><title>Internal Server Error</title></head><body><h1>Internal Server Error</h1>Unknown problem determining WebApi request destination.</body></html>

HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
req.Method = "POST";
req.ContentType = "application/x-www-form-urlencoded";
req.Timeout = 5000;
req.Host = "api.steampowered.com:80";
req.ProtocolVersion = HttpVersion.Version11;
req.Accept = "*/*";
req.Headers[HttpRequestHeader.AcceptEncoding] = "gzip, deflate";
req.Headers[HttpRequestHeader.AcceptLanguage] = "en-us";
req.UserAgent = "Steam 1291812 / iPhone";
< >
Showing 1-15 of 36 comments
MalikQayum Sep 16, 2021 @ 1:55am 
your issue is probably with the whatever creates the url.
debug your url to see if it comes out right.

you often get internal errors 500 when the parameters are not right or url.

as a side note: i presume you know this api requires an publisher api key.
Last edited by MalikQayum; Sep 16, 2021 @ 1:56am
orangelemonhouse Sep 17, 2021 @ 12:34am 
When the parameter is wrong, the parameter error will be reported. For example, I change the parameter

key=XXX&orderid=1007532201&steamid=XXX&appid=XXX&itemcount=1&language=zh-CN&currency=USD&itemid[0]=59969567&qty[0]=1&amount[0]=500&description[0]=11

orangelemonhouse Sep 17, 2021 @ 12:39am 
Is the format of which parameter incorrect?
orangelemonhouse Sep 17, 2021 @ 12:43am 
So please help me see which parameter format is incorrect? I filled in as required, no matter how to rewrite the parameter value, it is the same error. Or can you give me a correct reference?
MalikQayum Sep 17, 2021 @ 12:57am 
https://partner.steam-api.com/ISteamMicroTxn/InitTxn/v3/?key=xxxx&orderid=1007532201&steamid=xxxx&appid=xxxx&itemcount=1&language=zh-CN&currency=USD&itemid%5B0%5D=59969567&qty%5B0%5D=1&amount%5B0%5D=500&description%5B0%5D=11

{ "response": { "result": "Failure", "params": { "orderid": "1007532201" }, "error": { "errorcode": 7, "errordesc": "User 76561198034957967 not logged in" } } }

look at the errordesc you get.
Last edited by MalikQayum; Sep 17, 2021 @ 1:02am
orangelemonhouse Sep 17, 2021 @ 1:11am 
what tools you test?
orangelemonhouse Sep 17, 2021 @ 1:11am 
good
orangelemonhouse Sep 17, 2021 @ 1:12am 
i used postman only return <h1>Internal Server Error</h1>Unknown problem determining WebApi request destination.
orangelemonhouse Sep 17, 2021 @ 1:17am 
My game is charged, right?
orangelemonhouse Sep 17, 2021 @ 1:26am 
Is it because in-app purchases cannot be used for paid games that are already online?
orangelemonhouse Sep 17, 2021 @ 1:44am 
https://partner.steam-api.com/ISteamMicroTxn/GetUserAgreementInfo/v1/?key=XXX&steamid=XXX&appid=XXX
return same error:
<html><head><title>Internal Server Error</title></head><body><h1>Internal Server Error</h1>Unknown problem determining WebApi request destination.</body></html>
Last edited by orangelemonhouse; Sep 17, 2021 @ 1:54am
Dranak Sep 17, 2021 @ 1:54am 
Its China, maybe one of them greyzone what will work or not ( China Goverment blocking maybe ) cant say or own ISP blocking
orangelemonhouse Sep 17, 2021 @ 1:54am 
but this api is ok
https://partner.steam-api.com/ISteamMicroTxn/GetUserInfo/v2/?key=XXX&steamid=XXX&ipaddress=125.84.222.2

and return
{
"response": {
"result": "OK",
"params": {
"state": "",
"country": "CN",
"currency": "CNY",
"status": "Active"
}
}
}
Dranak Sep 17, 2021 @ 1:55am 
Known Issues with Internet Service Providers (ISPs)
Important:
If you notice that your Steam connection only has issues during certain hours of the day (for example in the evenings between 5pm and 11pm), it is possible that your ISP is blocking or "shaping" your connection. Please test your connection at other hours of the day and contact your ISP directly if you believe this is causing the connection issue.

Some ISPs have been found to block ports required for the proper operation of Steam and Steam games:
012.net (Steam traffic blocked)
Bluewin (Firewall blocks Steam from provider side - must be disabled through provider's service portal)
Dutch Telecom (Steam traffic blocked)
ISPFree (Steam traffic blocked)
Micronet Broadband (Steam traffic blocked)
orangelemonhouse Sep 17, 2021 @ 1:55am 
Originally posted by |<- Iceira ->|:
Its China, maybe one of them greyzone what will work or not ( China Goverment blocking maybe ) cant say or own ISP blocking

open vpn,is same!
< >
Showing 1-15 of 36 comments
Per page: 1530 50

Date Posted: Sep 15, 2021 @ 12:16am
Posts: 36