Always take error CORS, if i try to get subgraph

Hi guys!
I cant get graph from website -
But if i try take data from tutorial sandbox -
All ok
What could be the problem ?
Thanks :slight_smile:

Code there โ†’

import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter, HashRouter } from 'react-router-dom'; 
// HraphQL.
import {
  } from "@apollo/client";
const client = new ApolloClient({
  uri: '',
  cache: new InMemoryCache(),
// -----------------------------------
import App from './App';
// -----------------------------------Redux
import { Provider } from 'react-redux';
import { store } from '~Redux/store';
// style
// -----------------------------------
    <ApolloProvider client={client}>
            <Provider store={store}>
              <App />

Hello! I believe you are providing the incorrect URL for the GraphQL endpoint youโ€™re trying to connect to. The page at lists its โ€œQueriesโ€ URL as

If I attempt to connect to that URL in Apollo Sandbox, I connect successfully.

1 Like

Hello Stephen! Thanks its work!
All the best to you! :blush: :blush: :blush: