opsgenie-go-sdk-v2 icon indicating copy to clipboard operation
opsgenie-go-sdk-v2 copied to clipboard

🐛 ChangeOrderRequest: Allow zero as targetIndex

Open twink0r opened this issue 3 years ago • 0 comments

This fixes the Issue that not allows to use zero as targetIndex for ChangeOrderRequest.

Error response from API

ERRO[2021-11-29T16:44:29.619653+01:00] Error occurred with Status code: 422, Message: Request body is not processable. Please check the errors., Took: 0.004000, RequestId: 5b0c3b63-743c-466d-8518-63bbfc7f36bf, Error Detail: map[targetIndex:must not be null] ERRO[0014] error while changing the new policy: %vError occurred with Status code: 422, Message: Request body is not processable. Please check the errors., Took: 0.004000, RequestId: 5b0c3b63-743c-466d-8518-63bbfc7f36bf, Error Detail: map[targetIndex:must not be null]

twink0r avatar Nov 30 '21 09:11 twink0r