422 error: "Unprocessable Entity" with talkback DELETE request. | ThingSpeak API | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.

Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
422 error: "Unprocessable Entity" with talkback DELETE request.
No permission to create posts
May 29, 2020
11:55 pm
New Member
Forum Posts: 1
Member Since:
May 29, 2020
sp_UserOfflineSmall Offline

I'm trying to delete all of the talkback commands in the queue, and am getting the 422 error.

My url is: https://api.thingspeak.com/talkbacks/xxxxx/commands.json
and the body of the request is api_key=[my key].

Am I doing something incorrectly? Do I need another parameter?

June 2, 2020
7:35 pm

Forum Posts: 885
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

Are you using the DELETE verb?
ThingSpeak doesn't do 422, you are getting that error before it even gets to ThingSpeak.

FYI, MATLAB answers is the preferred location for ThingSpeak Community support.

June 3, 2020
7:12 pm

Forum Posts: 342
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

A 422 is likely because some of the parameters are badly encoded or more generally the request is incorrect. Print the exact request to the serial monitor and you should be able to see the cause pretty easily.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
33 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormier

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457