# \[REST API\] HTTP 500 Could not open /DIR/image.jpg for writing

**URL:** https://forum.shopware.com/t/rest-api-http-500-could-not-open-dir-image-jpg-for-writing/58935
**Category:** Programmierung
**Created:** [5. April 2019 um 06:59 UTC](https://forum.shopware.com/t/rest-api-http-500-could-not-open-dir-image-jpg-for-writing/58935 "2019-04-05T06:59:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ent\_dev](https://avatars.discourse-cdn.com/v4/letter/e/45deac/32.png) [@ent\_dev](https://forum.shopware.com/u/ent_dev)
#### Post date: [5. April 2019 um 06:59 UTC](https://forum.shopware.com/t/rest-api-http-500-could-not-open-dir-image-jpg-for-writing/58935/1 "2019-04-05T06:59:09Z")

</div>

Guten Morgen ![Smile](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/smile.png "Smile")

&nbsp;

ich teste grade eine Schnittstelle und bin aktuell bei dem Bereich „Bildzuweisung“.

&nbsp;

Ich importiere ein XML und es funktioniert auch einwandfrei bis auf den Bildimport.

&nbsp;

Ich bekomm jedes mal folgende Meldung:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/4/4bab33269bbc0dcf369de5ed48d785bfc329a791.png)

&nbsp;

Im Backend ist „allow\_url\_fopen“ aktiviert, ansonsten habe ich in einem älteren Beitrag gelesen das es auch an der .htacces-Datei liegen könnte, nur weiß ich nicht was genau ich da ausschalten sollte.

&nbsp;

mit freundlichen Grüßen,

ent\_dev

&nbsp;

Schönes Wochenende! ![Thumb-Up](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/thumb-up.png "Thumb-Up") ![Halo](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/halo.png "Halo")
