Answer the question
In order to leave comments, you need to log in
The mediatopic.post request returns Service is temporary unavailable?
Hello.
First, according to the documentation, I send photos.
There are no problems here.
Next, I'm trying to post to a group.
I send a request using the OdnoklassnikiSDK::makeRequest method from php-sdk.
OdnoklassnikiSDK::makeRequest('mediatopic.post', $data);
where $data
Array
(
[type] => GROUP_THEME
[gid] => group_id
[attachment] => {
"media": [
{
"type": "text",
"text": "Ad text"
},
{
"type ": "photo",
"list": [{ "id ": "yGN4K + DpfBCUiw3f2hZzPRHW5FFGr + XC4SRaMNWLMpRyEhBhB8fo / w26HJBVycU2ANu2fgkCOQdIFPWbZaeFZVpYPWQ / KrAg1knwZh / Zfp + RT9UJy0oPJQc0io5EZSXsG5iIhj07zC85iSudcFQkzg =="}, { "id": " 4 + yHENXwGcoBtpplkF98H71Zymeemz / iD0jb7xoPNfIG9THvT / 8I3WgD55kdY41JW / 21CLQIST ++ ZlO6kqiDosfa9dvB6jPu9Qw6h + gAkOgYLFBcQ5bmrBOqrn2YPCL3hiHXOOSQ7obpMj9rtp6mQg = = "}, {" id ":" + upQMRmQvt1 D1JL9kgla9miZtHgnqBhXc0anlYMOQ9 / fCzTG / L2R7RZQlpWZYmuEQGooPc13cSkFSaEuiP8RJAivhhf / YCTc65TcW 2XlPScLaZ9xEoiNRp6CuLM91v8fgUeXrhtileU8TKnvsq9Vw == + "}]
}
]
}
)
In response to receiving
Array
(
[error_code] => 2
[error_msg] => SERVICE: Service is temporary unavailable.
[error_data] =>
)
Am I doing something wrong or is the service really down?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question