# API connector was working 1 month ago but now not (returning PDF)

**URL:** <https://forum.bubble.io/t/api-connector-was-working-1-month-ago-but-now-not-returning-pdf/8965>\
**Category:** APIs\
**Created:** [December 22, 2016, 7:05am UTC](https://forum.bubble.io/t/api-connector-was-working-1-month-ago-but-now-not-returning-pdf/8965 "2016-12-22T07:05:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anbal](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anbal](https://forum.bubble.io/u/anbal)\
**Post date:** [December 22, 2016, 7:05am UTC](https://forum.bubble.io/t/api-connector-was-working-1-month-ago-but-now-not-returning-pdf/8965/1 "2016-12-22T07:05:42Z")

</div>

API Connector (POST, Data, Image) was working returning PDF file in my App one month ago, but now it can return only PNG file in very bad resolution. Smth was updating in API Connector? How can I solve my problem?

I opened external link with Value = APIrespons’s URL

---

<div class="post-metadata">

**Author:** ![andrewgassen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewgassen/32/44248_2.png) [@andrewgassen](https://forum.bubble.io/u/andrewgassen)\
**Post date:** [December 22, 2016, 11:28am UTC](https://forum.bubble.io/t/api-connector-was-working-1-month-ago-but-now-not-returning-pdf/8965/2 "2016-12-22T11:28:12Z")

</div>

Without a link to the editor, it’s hard to help diagnose. I suggest sharing your app so we can take a look and see what’s going on.

---

<div class="post-metadata">

**Author:** ![anbal](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anbal](https://forum.bubble.io/u/anbal)\
**Post date:** [December 22, 2016, 5:10pm UTC](https://forum.bubble.io/t/api-connector-was-working-1-month-ago-but-now-not-returning-pdf/8965/3 "2016-12-22T17:10:39Z")

</div>

> **[Bubble Editor - pallets](https://bubble.io/page?name=index&id=pallets&tab=tabs-1)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

to see result select one from list and push button, after some seconds click on the pdf\_link and see nothing (image.png)

---

<div class="post-metadata">

**Author:** ![mishav](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mishav/32/6420_2.png) [@mishav](https://forum.bubble.io/u/mishav)\
**Post date:** [December 24, 2016, 11:35am UTC](https://forum.bubble.io/t/api-connector-was-working-1-month-ago-but-now-not-returning-pdf/8965/4 "2016-12-24T11:35:09Z")

</div>

The API still works, the problem must be elsewhere …

Here is a demo of your API:  
[https://bubble.io/page?name=index&id=test-pallets-app&tab=tabs-1](https://bubble.io/page?name=index&id=test-pallets-app&tab=tabs-1)  
[https://test-pallets-app.bubbleapps.io/version-test?debug\_mode=true](https://test-pallets-app.bubbleapps.io/version-test?debug_mode=true)

 ![](https://us1.discourse-cdn.com/bubble/original/2X/8/87eb648b78058722489f60976a9656cd678b037d.png)

---

<div class="post-metadata">

**Author:** ![anbal](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anbal](https://forum.bubble.io/u/anbal)\
**Post date:** [December 24, 2016, 2:21pm UTC](https://forum.bubble.io/t/api-connector-was-working-1-month-ago-but-now-not-returning-pdf/8965/5 "2016-12-24T14:21:07Z")

</div>

Resolution of this image is very bad. Some time ago it was working for original pdf file, not png. And now it’s not working. Maybe you know how is it possible to get the original resolution of png or to open pdf (not png).

---

<div class="post-metadata">

**Author:** ![mishav](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mishav/32/6420_2.png) [@mishav](https://forum.bubble.io/u/mishav)\
**Post date:** [December 24, 2016, 2:52pm UTC](https://forum.bubble.io/t/api-connector-was-working-1-month-ago-but-now-not-returning-pdf/8965/6 "2016-12-24T14:52:10Z")

</div>

I just noticed on the API call, the type was set to “Image”, is that how it used to be?

When you raise a bug report, I suggest you include some steps on how to get to the problem and what you expect.

Edit: sorry I didn’t notice the API was returning a PNG!
