ah. You need to create a user. You can either do this through the Angular.js app - https://dashboard.myplantlink.com/ or directly with the Register User endpoint. The angular app actually uses the same api documented on mashape. If you leave chrome or facebook dev tools running you can see the requests that occur with each action.
The username and password for all future requests are the email and password set up this way. I’m not regularly on Mashape and I am no longer employed by Oso Technologies but you can reach me at dan@oso.tc if you want a better walk through.
[{“severity”: “Error”, “type”: “AuthError”, “traceback”: [" File “/base/data/home/apps/s~oso-tech/live.377436776115551932/app/controllers/commonHandlers.py”, line 226, in check_login\n message=‘The given Authorization header is not valid’)\n"], “type_detail”: “InvalidBasicAuthParameter”, “message”: “The given Authorization header is not valid”, “data”: null}]
ah. You need to create a user. You can either do this through the Angular.js app - https://dashboard.myplantlink.com/ or directly with the Register User endpoint. The angular app actually uses the same api documented on mashape. If you leave chrome or facebook dev tools running you can see the requests that occur with each action.
The username and password for all future requests are the email and password set up this way. I’m not regularly on Mashape and I am no longer employed by Oso Technologies but you can reach me at dan@oso.tc if you want a better walk through.
Also, maybe to help clarify, my colleagues have tried as well and have gotten the same error.
thanks.
I copied and pasted it from mashape directly. I am not sure what credentials I should have.
As a heads up the authorization header contains your username and pw in a easily readable format - http://en.wikipedia.org/wiki/Basic_access_authentication
But perhaps fortunately your username and password aren’t correct. Invalid basic auth parameter generally means invalid credentials.
Thanks so much for getting back to me! this is the error i receive:
~$ curl --get --include “https://plantlink.p.mashape.com/plants/241097” \
[{“severity”: “Error”, “type”: “AuthError”, “traceback”: [" File “/base/data/home/apps/s~oso-tech/live.377436776115551932/app/controllers/commonHandlers.py”, line 226, in check_login\n message=‘The given Authorization header is not valid’)\n"], “type_detail”: “InvalidBasicAuthParameter”, “message”: “The given Authorization header is not valid”, “data”: null}]
The API is still online and available. What’s the error when you received?