O
O
OldLS2017-09-18 07:35:53
Classmates
OldLS, 2017-09-18 07:35:53

Why is there an error when subscribing to a webhook?

I'm trying to install a webhook, send a request to https://api.ok.ru/graph/me/subscribe, POST request, the url field is filled, the token has been transferred.
Returns 500 error and 8e93ed1846ce4450b022f5609bb4b6c4.png
Is this a problem on your end? And if so, when will you fix it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Egorichev, 2017-09-18
@OldLS

Your Content-Type of the request is incorrect. Apparently, "multipart/form-data".
You must specify Content-Type "application/json".
We will correct the display of the error on our side. Thanks for noticing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question