Ignore , I fixed it!
When calling the firmware endpoint I’m getting this error:
(I removed my projectid)
{“err”:“The requested action was forbidden”,“code”:403,“status”:“Forbidden”,“request”:“/v1/projects//firmware”,“debug”:“denied access to identifier account:anonymous, resource blues:resources:app:3145:devices, actions read”}
I get the token using this:
curl -X GET -L ‘https://api.notefile.net/v1/projects//firmware’ -H ‘Authorization: Bearer ’
The token was obtained using
curl -X POST -L ‘https://notehub.io/oauth2/token’ -H ‘content-type: application/x-www-form-urlencoded’ -d grant_type=client_credentials -d client_id= -d client_secret=
I thought I was pro-Blues user – this should be easy, what am I doing wrong ???
Thanks!
IGNORE - Started working , not sure why , but will ! my last command worked, so will compare and see what I did wrong!