1:04 pm

July 24, 2020

Hi everyone.
I can't put talkback command with visual basic in the queue.
I use this:
in response I get the following:
{"status": "401", "error": {"error_code": "error_auth_required", "message": "Authorization Required", "details": "Please provide proper authentication details."}}
I can't understand what's wrong
Your suggestion is welcome
4:35 pm


Moderators
March 7, 2017

Are you using a POST? API key is a body parameter for Talkback, not a query string parameter.
see https://www.mathworks.com/help/thingspeak/addtalkbackcommand.html
JSON Example
POST https://api.thingspeak.com/talkbacks/TALKBACK_ID/commands.json
api_key=YOUR_TALKBACK_API_KEY
command_string=OPENDOOR
FYI, MATLAB answers is the preferred location for ThingSpeak Community support.
Most Users Ever Online: 166
Currently Online: mennamorato
22 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:
bogart, estebanmateo93, mikewrite, onlinebusiness, winzy99, Zark_zeuganModerators: cstapels: 460
Administrators: Hans: 405, lee: 457