When I try to use the api to access my cloud build data at https://build-api.cloud.unity3d.com via the api_self link provided on cloud build completion, I get the error “unknown security handler: filetoken”
Has an extra security step been added?
When I try to use the api to access my cloud build data at https://build-api.cloud.unity3d.com via the api_self link provided on cloud build completion, I get the error “unknown security handler: filetoken”
Has an extra security step been added?
Few questions.
Where are you making the call from and how are you making the call? What are you using for authentication against the API?
When did you notice the functionality changed?
OK never mind. This was because it was using the API key of someone who has left the company. Changed to mine and it works!
@Benjamin-Gooding Now I’m getting a similar problem, but I changed nothing and I’ve confirmed we are using the correct API key. It was building fine when I last tried it 2 weeks ago.
It builds but when I use this line to get the build for our script:
buildData = requests.get(“https://build-api.cloud.unity3d.com” + buildLink, headers={“Authorization”: tokenId})
… I get {“error”:“not found”,“detail”:[“not found”]} returned instead of the data.
The path we are using is
https://build-api.cloud.unity3d.com/api/orgs/[OUR_ORG_ID]/projects/[OUR_PROJECT_ID]/buildtargets/loader_webgl/builds/982
The build is created successfully and I can download it via the web interface
I got a response from @Benjamin-Gooding , for anyone else having this issue the new API should be as follows:
v1 is the important new addition