A
Alokaisan123

Adding a custom API call

We are trying to create a Business unit upon the creation of the new user for that we have created a custom API extension but we are not able to execute the graphql given to the custom API extension
R
rohrigβ€’378d ago
Hi @san123 πŸ‘‹ , which integration are you using?
S
skirianovβ€’378d ago
I believe that extendApiMethods should return something yep, I was wrong, no need to return anything
R
rohrigβ€’378d ago
S
san123β€’378d ago
Commercetools Integration
R
rohrigβ€’378d ago
if you set a debugger, is businessUnit being called? Any errors?
S
san123β€’378d ago
I have placed a debugger for business unit still I am able to call the business unit
R
rohrigβ€’378d ago
good, I see you have HttpToolkit setup there. Is the request being sent? Are you getting any errors?
S
san123β€’378d ago
In the application we are able to hit the businessUnit api but in the httptoolkit we aren't able to hit businessUnit api
R
rohrigβ€’378d ago
what response are you getting here?
R
rohrigβ€’378d ago
πŸ˜„ please wrap the request in a try/catch and let me know what you're getting . . .
S
san123β€’378d ago
I am not getting any responce in the console
R
rohrigβ€’378d ago
But when you debug, it does go into this function?
S
skirianovβ€’378d ago
Have you tested this graphQl query?
S
san123β€’378d ago
Yes
S
san123β€’377d ago
when I debug it doesn't go into the function
R
rohrigβ€’374d ago
☝️ It looks like the debugger is there to me. πŸ€” Can you elaborate on what you mean?
S
san123β€’373d ago
you were previously asking to check does go into the function or not when we debug
Want results from more Discord servers?
Add your server
More Posts
Glide.js is treated as an ES moduleHi, i get this error after running `yarn start` and trying to access the page Does anyone know howtranslating componentsI cannot find a way to translate the SfAddToCart button's label. How can I do that?How is checkout components rendering?In code i find this array of steps in checkout. But how i can, for example, change component for shiUnable to make API call on serverhttps://auction-dev.ycspl.in/weeklyauction while accessing this endpoint my network request is made issue with API callWhen I do yarn start it adds undefined to my request url but when I do yarn dev it works fine. Can ygetting this error while trying to deployjenkins@ip-172-31-24-212:~/workspace/auction-frontend$ npm install npm WARN read-shrinkwrap This verUnable to access cookies in composablescontext.$bagisto.config.app.$cookies.set('vsf-bagCust-token', loginResult.data.api_access_token); myVSF UI 2 with ecommerce-integration-boilerplateHi, I hope this isn't a silly question :). Is it possible to use the new UI with the boilerplate fouWhat version of Node?Noob question. I was trying to create a storefront with spree and got the following error: error @vuHow to add custom function to a composableimport { Context, useFacetFactory, FacetSearchResult } from '@vue-storefront/core'; import typGet product details and Static block from magento 2 backend to VueStoreFront.Hi, I have a doubt. I need to call static block from magento to vuestorefront homepage someone pleasPossible Memory leak in vuestorefront-apiHi, we are using vuestorefront 1, problem we facing at the moment is that with time the api server iHow to detect if a page has an error inside the layoutInside the default layout I need to detect if there is an error page displayed (like for example a 4Contribution via a specific issueHello. I opened this **issue** (https://github.com/vuestorefront/vue-storefront/issues/6891). I workUnable to change the color of the SFheaderunable to change the background-color of Sf header can someone please helpVSF Redis cache - dynamic parts will be disappeared after a whileHi everybody, we have implemented redis cache with VSF project (SSR Cache), but we faced an issue,Can't we use REST Apis with Vue storefrontIs it necessary to use GraphQl in vuestorefront?Is Bagisto integration with Vue Storefront Deprecated?Please explainWeird url parametersHello πŸ™‚ My Product Id seems whack or not VSF friendly. The are formatted as rest style urls: `"gidSSR Cache - default invalidation handlerAs I saw the previous channel archived, so here we can continue discussion about cache.. @7s @Tautv