Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEBUG:
- { HttpError: Validation Failed
- at response.text.then.message (/mnt/data/coding/node-gitlab-2-github/downstreamRepo/node_modules/@octokit/request/lib/request.js:55:27)
- at process._tickCallback (internal/process/next_tick.js:68:7)
- name: 'HttpError',
- status: 422,
- headers:
- { 'access-control-allow-origin': '*',
- 'access-control-expose-headers':
- 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type',
- connection: 'close',
- 'content-length': '194',
- 'content-security-policy': 'default-src \'none\'',
- 'content-type': 'application/json; charset=utf-8',
- date: 'Fri, 30 Aug 2019 07:52:33 GMT',
- 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
- server: 'GitHub.com',
- status: '422 Unprocessable Entity',
- 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
- 'x-accepted-oauth-scopes': '',
- 'x-content-type-options': 'nosniff',
- 'x-frame-options': 'deny',
- 'x-github-media-type': 'github.v3; format=json',
- 'x-github-request-id': '8A1E:3BE2E:3E25ED5:4B9F9F1:5D68D5C1',
- 'x-oauth-scopes':
- 'admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, read:packages, repo, user, write:discussion, write:packages',
- 'x-ratelimit-limit': '5000',
- 'x-ratelimit-remaining': '4635',
- 'x-ratelimit-reset': '1567154390',
- 'x-xss-protection': '1; mode=block' },
- request:
- { method: 'POST',
- url: 'https://api.github.com/repos/maks-io/CENSORED_DATA/issues',
- headers:
- { accept: 'application/vnd.github.v3+json',
- 'user-agent':
- 'node-gitlab-2-github octokit.js/16.1.0 Node.js/10.16.0 (Linux 5.2; x64)',
- authorization: 'token 7d612f71cb9d9cbde63a8573da22c91e4b702b74',
- 'content-type': 'application/json; charset=utf-8' },
- body:
- '{"title":"CENSORED_DATA","body":"In GitLab by @maks-io on Aug 31, 2017, 16:48\\n\\n","assignees":["CENSORED_DATA"],"milestone":1,"labels":["feature","in progress"]}',
- request: { timeout: 5000, validate: [Object] } },
- errors:
- [ { value: 'CENSORED_DATA',
- resource: 'Issue',
- field: 'assignees',
- code: 'invalid' } ],
- documentation_url: 'https://developer.github.com/v3/issues/#create-an-issue' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement