Queueing a build fails with poor error message
See original GitHub issueI tried queue a build and received this error:
root : 'NoneType' object has no attribute 'message'
That wasn’t very helpful, so I added --debug
and got something a bit more helpful:
msrest.http_logger : b'{"ClassName":"Microsoft.TeamFoundation.Build.WebApi.BuildRequestValidationFailedException","Messa
ge":"Could not queue the build because there were validation errors or warnings.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-
2146232832,"Source":null,"WatsonBuckets":null,"m_logException":false,"m_reportException":false,"m_errorCode":0,"m_logLevel":"warning","m_eventId":3000,"ValidationResults":[{"result":"error","message":"An error occurred while loading the YAML build definition. An object ID must be 40 characters long and only have hex digits. Passed in object ID: ."}]}'
Here’s the important part I think:
An error occurred while loading the YAML build definition. An object ID must be 40 characters long and only have hex digits. Passed in object ID: .
I don’t think there is anything wrong with the YAML - builds from the UI work just fine.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Queueing a build fails with poor error message #106 - GitHub
I tried queue a build and received this error: root : 'NoneType' object has no attribute 'message' That wasn't very helpful, ...
Read more >Is it possible to recover messages from error queue ...
Messages in the error queue are usually a sign something really bad is going on. Either something is offline for a longer period...
Read more >How to Make Your Messaging System Reliable and Keep ...
The message/queue TTL expired. It failed due to a transient error. It failed because it is unprocessable (bad data, message versioning issue ......
Read more >MSMQ: What can cause a "Insufficient resources to perform ...
I had the same error message and the solution was simple. There were a lot of messages sitting on various queues, and the...
Read more >Error Handling with Spring AMQP - Baeldung
A Dead Letter Queue (DLQ) is a queue that holds undelivered or failed messages. A DLQ allows us to handle faulty or bad...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Filed two bugs last week on the build team for the service. We will be able to provide a more detailed message, once these bugs are addressed.
That did help - our default branch is not
master
, nor do we have such a branch, but specifying the branch worked. Thanks.