Closed marcoaltomonte closed 3 years ago
Http code: 422 Unprocessable Entity which means payload format was wrong. Please check the format of the command. It’s likely wrong
This endpoint supports only POST requests not GET requests. That’s why you are seeing cannot GET error message.
On Sun, 17 Oct 2021 at 8:36 PM Marco Altomonte @.***> wrote:
I followed ifttt integration guide but my ifttt applet can't execute the sinric action due to an error. It seems that https://ifttt.sinric.pro/v1/actions returns a 422 error. If I access that url directly I get a "Cannot GET /v1/actions" web page.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sinricpro/non-sdk-issues/issues/33, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZSYPVB3WVEN7MAC5RLUHLGOTANCNFSM5GE2UFVA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Thanks for your super fast answer. My ifttt app action is configured as in the following photo. Json is valid. api key is my sinric key.
Il dom 17 ott 2021, 15:43 Aruna Tennakoon @.***> ha scritto:
Http code: 422 Unprocessable Entity which means payload format was wrong. Please check the format of the command. It’s likely wrong
This endpoint supports only POST requests not GET requests. That’s why you are seeing cannot GET error message.
On Sun, 17 Oct 2021 at 8:36 PM Marco Altomonte @.***> wrote:
I followed ifttt integration guide but my ifttt applet can't execute the sinric action due to an error. It seems that https://ifttt.sinric.pro/v1/actions returns a 422 error. If I access that url directly I get a "Cannot GET /v1/actions" web page.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sinricpro/non-sdk-issues/issues/33, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABZAZZSYPVB3WVEN7MAC5RLUHLGOTANCNFSM5GE2UFVA
. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sinricpro/non-sdk-issues/issues/33#issuecomment-945126457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYB4S7QDPXGN3KMQ47LWGLUHLHGPANCNFSM5GE2UFVA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Can’t see the image
On Sun, 17 Oct 2021 at 9:56 PM Marco Altomonte @.***> wrote:
Thanks for your super fast answer. My ifttt app action is configured as in the following photo. Json is valid. api key is my sinric key.
Il dom 17 ott 2021, 15:43 Aruna Tennakoon @.***> ha scritto:
Http code: 422 Unprocessable Entity which means payload format was wrong. Please check the format of the command. It’s likely wrong
This endpoint supports only POST requests not GET requests. That’s why you are seeing cannot GET error message.
On Sun, 17 Oct 2021 at 8:36 PM Marco Altomonte @.***> wrote:
I followed ifttt integration guide but my ifttt applet can't execute the sinric action due to an error. It seems that https://ifttt.sinric.pro/v1/actions returns a 422 error. If I access that url directly I get a "Cannot GET /v1/actions" web page.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sinricpro/non-sdk-issues/issues/33, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ABZAZZSYPVB3WVEN7MAC5RLUHLGOTANCNFSM5GE2UFVA
. Triage notifications on the go with GitHub Mobile for iOS <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android <
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/sinricpro/non-sdk-issues/issues/33#issuecomment-945126457 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAYB4S7QDPXGN3KMQ47LWGLUHLHGPANCNFSM5GE2UFVA
. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/sinricpro/non-sdk-issues/issues/33#issuecomment-945139944, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZVSA4QQYQHF7L2TNX3UHLP25ANCNFSM5GE2UFVA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Probably I can't attach images by github's "Reply by mail". So, here it is: s:
I have retested the endpoint with Postman. it responds correctly.
I fixed the problem. I was using my main sinric app key (the one with the associated app secret) in ifttt json action. Using a new sinric app key (without a secret) fixed the isue.
I followed ifttt integration guide but my ifttt applet can't execute the sinric action due to an error. It seems that https://ifttt.sinric.pro/v1/actions returns a 422 error. If I access that url directly I get a "Cannot GET /v1/actions" web page.