# Bug NEX-385 - Nextcloud integration app throws ERROR when avatar is not found

Project: Stream Nextcloud app "OpenProject Integration"
Status: closed
URL: https://community.openproject.org/work_packages/NEX-385

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | Nextcloud Integration 2.7.0 |
| Observed in versions | Nextcloud Integration 2.6.0 |
| Bug found in version (deprecated) | Nextcloud Integration 2.6.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

Nextcloud integration app throws ERROR when avatar is not found

  - NC app version 2.6.3 0a91c658081007b9aaf3749836be64449efdd0c4

  - NC version **28.0.6**

### **Logs**

\[PHP\] Error: Undefined array key "Content-Type" at /var/www/html/custom\_apps/integration\_openproject/lib/Service/OpenProjectAPIService.php\#320  
    GET /apps/integration\_openproject/avatar?userId=96697\&userName=C%C3%A9cile%20Guiot  
    from 45.149.229.48 by <w.lindenthal@openproject.com> at 2024-07-08T11:54:25+00:00

### 

**Info for QA:**  
**Please check with a developer the AppSignal logs. They should have stoped appearing on Nextcloud stage now.**
