Error getting build log!

Hi, there.

I failed to build with Unity Cloud Build. However, I get an error “Error getting build log!” And I can not see the log.
Running a clean build was the same.

Looking at the browser console, the error “net :: ERR_INCOMPLETE_CHUNKED_ENCODING” has occurred.

What should I do?

Unity version: Unity 5.5.2f1
XCode version: Latest Compatible Version
Build target: iOS

Cheers

1 Like

Hello,

You could use the curl command from the Cloud Build API: Unity DevOps Build Automation (‘Get build log’ is found under the Builds heading in the sidebar)

This requires your API Key which can be found here: Unity ID

I hope this helps.

  • Sophia
1 Like

Thank you for your reply.

After running the curl command at the terminal, I succeeded in getting the log.

Thank you:).

curl -X GET -H “Content-Type: application/json” -H “Authorization: Basic (API Key)” https://build-api.cloud.unity3d.com/api/v1/orgs/{orgid}/projects/{projectid}/buildtargets/{buildtargetid}/builds/{number}/log?compact=true&withHtml=true