Skip to content

Setup OpenProject Config (Error) #4142

Open
@19Topgun93

Description

@19Topgun93

Your Environment

  • Version used: AUR 12.0.1->
  • Operating System and version: Garuda Linux (Arch Linux)
  • Desktop Environment: Cinnemon

OpenProject Server

  • docker version 15
  • nginx Proxy Manager latest
  • nginx config:
    proxy_set_header X-Auth-Token $http_authorization;
    proxy_set_header Authorization "";

Because OpenProject seems to use the x-Auth-Token via API. The bearer or the basic Authentication doesn't work from super productivity.

Expected Behavior

Connect to Openproject

Current Behavior

Statuscode 422 Unprocessable Content

https://project.19topgun93.de/api/v3/projects/1/work_packages?pageSize=100&filters=%5B%7B%22subjectOrId%22:%7B%22operator%22:%22**%22,%22values%22:%5B%22%22%5D%7D%7D,%7B%22status%22:%7B%22operator%22:%22o%22,%22values%22:%5B%5D%7D%7D,%7B%22author%22:%7B%22operator%22:%22=%22,%22values%22:%22me%22%7D%7D%5D&sortBy=%5B%5B%22updatedAt%22,%22desc%22%5D%5D
Request Method:
GET

If I use https://project.19topgun93.de/api/v3/projects/1/work_packages in the Browser, returns a list. Maybe the ?query is wrong?

with the fulllink, I have in the browser the same error then below.

Steps to Reproduce (for bugs)

In superproductivity

1.configure host
2.Then the token of OpenProject
3.The Projek ID
4.And then test it

Can you reproduce this reliably?

Yes every time

Console Output

{"_type":"Error","errorIdentifier":"urn:openproject-org:api:v3:errors:MultipleErrors","message":"Multiple field constraints have been violated.","_embedded":{"errors":[{"_type":"Error","errorIdentifier":"urn:openproject-org:api:v3:errors:InvalidQuery","message":"Subject or id can't be blank. and is invalid."},{"_type":"Error","errorIdentifier":"urn:openproject-org:api:v3:errors:InvalidQuery","message":"Author filter has invalid values."}]}}

Error Log (Desktop only)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions