Intro to Java DGS given java cert exception when querying from Graoh OS - Second request

avax.net.ssl.SSLHandshakeException - Intro to GraphQL Java with DGS

javax.net.ssl.SSLHandshakeException - Intro to GraphQL Java with DGS

odyssey

I am trying to execute the featuring listing query in Graph OS and getting the following error:
query GetFeaturedListings {
featuredListings {
id
title
numOfBeds
costPerNight
closedForBookings
}
}

Stack trace
{“errors”:[{“message”:“org.springframework.web.client.ResourceAccessException: I/O error on GET request for “[https://rt-airlock-services-listing.herokuapp.com/featured-listings\](https://rt-airlock-services-listing.herokuapp.com/featured-listings\)”: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”,“locations”:,“path”:[“featuredListings”],“extensions”:{“errorType”:“INTERNAL”}}],“data”:null}

Why am I getting a cert error.

I am trying to execute the featuring listing query in Graph OS and getting the following error:
query GetFeaturedListings {
featuredListings {
id
title
numOfBeds
costPerNight
closedForBookings
}
}

Stack trace
{“errors”:[{“message”:“org.springframework.web.client.ResourceAccessException: I/O error on GET request for “[https://rt-airlock-services-listing.herokuapp.com/featured-listings\](https://rt-airlock-services-listing.herokuapp.com/featured-listings\)”: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”,“locations”:,“path”:[“featuredListings”],“extensions”:{“errorType”:“INTERNAL”}}],“data”:null}

Why am I getting a cert error.

My code. GitHub - mshah100/IntroGraphQLJavaDGS

GraphOS query:

query GetFeaturedListings {
featuredListings {
id
title
numOfBeds
costPerNight
closedForBookings
}
}

DIrect call to the heroku API works
​​