Hello
I have problem by creating a bucket.
I'm using Windows curl.exe for testing and here is command-line for authentication:
curl -k https://developer.api.autodesk.com/authentication/v1/authenticate --data "client_id=myId&client_secret=mySecret&grant_type=client_credentials&scope=code:all" --header "Content-Type:application/x-www-form-urlencoded"
returned is access_token and then I'm using:
curl.exe -k -v "https://developer.api.autodesk.com/oss/v2/buckets" -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6Imp3dF9zeW1tZXRyaWNfa2V5In0.eyJjbGllbnRfaWQiOiJ1OXc4b2NYc3Y3dm96Rm9PQWVjakhGckZwRmN6cmZBbiIsImV4cCI6MTUzNTcxMjAwNCwic2NvcGUiOlsiZGF0YTpyZWFkIl0sImF1ZCI6Imh0dHBzOi8vYXV0b2Rlc2suY29tL2F1ZC9qd3RleHA2MCIsImp0aSI6ImYyQ3hvQ3hLZkN6WDYzbjd0RkJkcEZKZHNDYTA4cUx3T1MzYThwTTkwTmVOTXBQSUNhVDlYUTBTc3Bmemo0WjYifQ.Srhxx3S3phcsUHEQmho_2r_K4cQ-G5P9XxLeXkA0MWg" --data "bucketKey=apptestbucket&policyKey=transient"
and here is what it returns:
"Token does not have the privilege for this request.* Connection #0 to host developer.api.autodesk.com left intact"
How to solve that, please?