We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
│ Error: API Error Deleting Resource │ │ Unexpected response code from API: 403 │ │ body: │ │ [123 34 100 101 116 97 105 108 34 58 34 89 111 117 32 100 111 32 110 111 │ 116 32 104 97 118 101 32 112 101 114 109 105 115 115 105 111 110 32 116 111 │ 32 112 101 114 102 111 114 109 32 116 104 105 115 32 97 99 116 105 111 110 │ 46 34 125] ╵
Decoded:
puts "123 34 100 101 116 97 105 108 34 58 34 89 111 117 32 100 111 32 110 111 116 32 104 97 118 101 32 112 101 114 109 105 115 115 105 111 110 32 116 111 32 112 101 114 102 111 114 109 32 116 104 105 115 32 97 99 116 105 111 110 46 34 125".split.map(&:to_i).map(&:chr).join #=> {"detail":"You do not have permission to perform this action."}
The text was updated successfully, but these errors were encountered:
Since this provider uses https://pkg.go.dev/github.com/doximity/defect-dojo-client-go, I think calls to the client should use the ClientWithResponses functions since they already return the response body as a byte array. It will save a couple extra lines to get the byte array.
For example, go from:
resp, err := DestroyProducts(...) ... body, _ := ioutil.ReadAll(resp.Body) fmt.Println(string(body))
To:
resp, err := DestroyProductsWithResponse(...) ... fmt.Println(string(resp.Body))
Sorry, something went wrong.
No branches or pull requests
Decoded:
The text was updated successfully, but these errors were encountered: