# Cannot connect to api from outside of DreamFactory

**URL:** <https://community.dreamfactory.com/t/cannot-connect-to-api-from-outside-of-dreamfactory/5265>\
**Category:** Server-Side Scripting\
**Created:** [December 26, 2020, 8:55am UTC](https://community.dreamfactory.com/t/cannot-connect-to-api-from-outside-of-dreamfactory/5265 "2020-12-26T08:55:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akaHeimdall](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/akaheimdall/32/1329_2.png) [@akaHeimdall](https://community.dreamfactory.com/u/akaHeimdall)\
**Post date:** [December 26, 2020, 8:55am UTC](https://community.dreamfactory.com/t/cannot-connect-to-api-from-outside-of-dreamfactory/5265/1 "2020-12-26T08:55:22Z")

</div>

I’ve connected everything successfully inside of DF:

- My services and roles are working correctly
- I can successfully execute the “Try Now” buttons in the API DOcs
- and I can view items on the Data page.
- I have CORS completely open (testing purposes) in the Config section
- I have created an API key for the app

Problem is that I cannot connect to the API from any external app: my local app I’m building that uses the API, Postman, or Postwoman (now Hoppscotch). Every app gives the network/cert error (I have also tried thru the proxy Hoppscotch provides and still am not successful). I could really use some help on this one. Thanks.:

```
Error: Network Error
    at t.exports (a6a94de.modern.js:2)
    at XMLHttpRequest.w.onerror (a6a94de.modern.js:2)
VM68:1 GET https://df.debstroutdata.com/api/v2/dsd/_table/get_residents net::ERR_CERT_INVALID
(anonymous) @ VM68:1
(anonymous) @ a6a94de.modern.js:2
t.exports @ a6a94de.modern.js:2
t.exports @ a6a94de.modern.js:2
Promise.then (async)
h.request @ a6a94de.modern.js:2
(anonymous) @ a6a94de.modern.js:2
(anonymous) @ c890b1f.modern.js:1
r @ a6a94de.modern.js:2
l @ a6a94de.modern.js:2
(anonymous) @ a6a94de.modern.js:2
(anonymous) @ a6a94de.modern.js:2
(anonymous) @ c890b1f.modern.js:1
y @ c890b1f.modern.js:1
(anonymous) @ c890b1f.modern.js:1
$ @ c890b1f.modern.js:1
(anonymous) @ c890b1f.modern.js:1
r @ a6a94de.modern.js:2
l @ a6a94de.modern.js:2
(anonymous) @ a6a94de.modern.js:2
(anonymous) @ a6a94de.modern.js:2
makeRequest @ c890b1f.modern.js:1
(anonymous) @ c890b1f.modern.js:1
r @ a6a94de.modern.js:2
l @ a6a94de.modern.js:2
(anonymous) @ a6a94de.modern.js:2
(anonymous) @ a6a94de.modern.js:2
sendRequest @ c890b1f.modern.js:1
Zt @ a6a94de.modern.js:2
n @ a6a94de.modern.js:2
c._wrapper @ a6a94de.modern.js:2
```
