Closed clamey closed 3 months ago
Looking at this a bit more - looks to me like maybe a Java/Kotlin null issue. ApiError should be ok with null values, and a NPE on response.body() would look different.
FYI - these are associated with 400 and 404s coming back from ADO to Merge
@clamey thanks for filing this issue, we'll report back when the issue is fixed in our generator!
Hiya - similar thing with comments too - this was from a 404 back from ADO:
com.merge.api.core.ApiError: null
at com.merge.api.resources.ticketing.comments.CommentsClient.create(CommentsClient.java:164)
This is now fixed!
Currently we're seeing errors like this:
My guess is that
response.body()
is null on some error, so this change puts a safeguard in place to avoid the NPE.