Expand my Community achievements bar.

Adobe IO Hosted CIF reference Implementation Graphql End Point

Avatar

Level 2

Hosted the CIF reference graphql  on Adobe IO and the result will be



web actions:
-> https://xxx-development.adobeio-static.net/api/v1/web/projectname/dispatcher
-> https://xxx-development.adobeio-static.net/api/v1/web/projectname/cif-schema
non-web actions:
-> https://xxxx-development.adobeioruntime.net/api/v1/projectname/cart
To view your deployed application:
-> https://xxx-development.adobeio-static.net/index.html
To view your deployed application in the Experience Cloud shell:
-> https://experience.adobe.com/?devMode=true#/custom-apps/?localDevUrl=https://xxx-development.adobeio...
skipping publish phase...
Successful deployment 🏄

 

On configuring the end point in AEM , what's the url need to provide as graphQL end point

I am giving   https://xxx-development.adobeio-static.net/api/v1/web/projectname/dispatcher  as end point , i am getting error like

Caused by: java.lang.RuntimeException: GraphQL query failed with response code 400
at com.adobe.cq.commerce.graphql.client.impl.GraphqlClientImpl.executeImpl(GraphqlClientImpl.java:339) [com.adobe.commerce.cif.graphql-client:1.7.10]
at com.adobe.cq.commerce.graphql.client.impl.GraphqlClientImpl.lambda$execute$6(GraphqlClientImpl.java:275) [com.adobe.commerce.cif.graphql-client:1.7.10]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4724) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
... 439 common frames omitted

 

Please guide is the graphQL url configured is correct? if it's how to resolve 400 error.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 1

Provide the dispatcher endpoint in the GraphQL configuration from the config manager for the default instance of GraphQL

It should work and response will be back with configured data.