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
curl -X POST "https://vc.test.nautobot.com/api/plugins/version-control/branches/" -H "accept: application/json" -H "Authorization: XX" -H "Content-Type: application/json" -H "X-CSRFToken: XX" -d "{ \"name\": \"tim-test-api\", \"hash\": \"njjmga0j9rmq1jubo7jcgcsjr849m91w\", \"latest_committer\": \"ntc\", \"latest_committer_email\": \"[email protected]\", \"latest_commit_date\": \"2022-04-11T15:28:43.569Z\", \"latest_commit_message\": \"testasfd\"}"
Results in:
<!DOCTYPE html> <html lang="en"> <head> <title>Server Error</title> <link rel="stylesheet" href="https://mhs-ntc-sandbox-nautobot-resources.s3.amazonaws.com/sandbox/test/dolt/bootstrap-3.4.1-dist/css/bootstrap.min.css"> <link rel="stylesheet" href="https://mhs-ntc-sandbox-nautobot-resources.s3.amazonaws.com/sandbox/test/dolt/materialdesignicons-5.4.55/css/materialdesignicons.min.css"> <meta charset="UTF-8"> </head> <body> <div class="container-fluid"> <div class="row"> <div class="col-md-6 col-md-offset-3"> <div class="panel panel-danger" style="margin-top: 200px"> <div class="panel-heading"> <strong> <i class="mdi mdi-alert"></i> Server Error </strong> </div> <div class="panel-body"> <p> There was a problem with your request. Please contact an administrator. </p> <hr /> <p> The complete exception is provided below: </p> <pre><strong><class 'django.db.utils.OperationalError'></strong><br /> (1105, 'invalid ref spec') Python version: 3.7.12 Nautobot version: 1.2.7</pre> <p> If further assistance is required, please post to the <a href="https://networktocode.slack.com/">#nautobot channel on Network to Code's Slack</a>. </p> <div class="text-right"> <a href="/" class="btn btn-primary">Home Page</a> </div> </div> </div> </div> </div> </div> </body> </html>
The text was updated successfully, but these errors were encountered:
Confirmed. Looks like the serializer for the API is not fully vetted for creating new branches at this time and needs to be shored up.
Sorry, something went wrong.
No branches or pull requests
Results in:
The text was updated successfully, but these errors were encountered: