JOWOMO / project-c

JOWOMO - Die Plattform zur Personalpartnerschaft
https://jowomo.de
MIT License
3 stars 1 forks source link

Feedback fails on connect/request #424

Closed mskg closed 3 years ago

mskg commented 3 years ago

Describe the bug Feedback sending fails with GraphQL error: undefined

To Reproduce Steps to reproduce the behavior:

  1. Login
  2. Dashboard
  3. Connect to XXX
  4. On confirmation page click Feedback
  5. Submit feedback

Expected behavior Feedback entry is created.

Screenshots IMG_0708

Device (please complete the following information): N/A

Additional context N/A

mskg commented 3 years ago
{
    "timestamp": "2021-01-18 18:37:11,789",
    "level": "ERROR",
    "location": "graphql.execution.executor.resolve_or_error:456",
    "message": "An error occurred while resolving field Mutation.createSupportRequest",
    "exception": "Traceback (most recent call last):\n  File \"/var/task/graphql/execution/executor.py\", line 452, in resolve_or_error\n    return executor.execute(resolve_fn, source, info, **args)\n  File \"/var/task/graphql/execution/executors/sync.py\", line 16, in execute\n    return fn(*args, **kwargs)\n  File \"/var/task/btb/api/schema/mutations/createsupportrequest.py\", line 62, in mutate\n    \"customfield_10053\": page,\n  File \"/var/task/btb/jsd/__init__.py\", line 93, in create_request\n    \"requestFieldValues\": fields,\n  File \"/var/task/btb/jsd/__init__.py\", line 59, in _request\n    raise JSDClientError(\"jira service desk client error\", response.json())\nbtb.jsd.JSDClientError: ('jira service desk client error', {'errorMessage': 'Your request could not be created. Please check the fields have been correctly filled in. The entered text is too long. It exceeds the allowed limit of 255 characters.', 'i18nErrorMessage': {'i18nKey': 'sd.validation.request.creation.failure.required.field', 'parameters': ['The entered text is too long. It exceeds the allowed limit of 255 characters.']}})",
    "principal_id": "XXXXXX",
    "aws_request_id": "a08e07e7-871c-4093-8105-13e80f1b957b"
}