Accessing arduino cloud api via python giving error 405
Hi all! I'm trying to access my arduino cloud via the python api. I tried following the tutorial in the docs at https://docs.arduino.cc/arduino-cloud/api/arduino-iot-api/ however when I use the script they suggest on there it get an error 405 with reason: Method Not Allowed. (see full stacktrace below). I've checked my api keys and even making the same request through postman which all seems to work fine (mostly). I do have an organization so im wondering if the issue is because theres no clarification for personal vs org account but i'm not entirely sure how i'd add that. I can add the python code if you're curious (its essentially the copy paste from the website). Thanks in advance!
Stacktrace:
2 Replies
Code for http?
The error says you are not using get, are you using post ?
like i said its literally the copy paste from the site
i've got it to work via a normal request (using the requests package) so idk why it wont work via the iot stuff