ERROR ApolloError: SyntaxError: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL #1969
-
Hi, I was trying to integrate Apollo Client in our angular app. All the documented step been followed but getting below error when running the app. Reference document followed - LINK. We are using Hasura for api requests.
Packages Installed -
Using - Angular 15, Hasura(for api) File - src/app/graphql.module.ts
File - src/app/app.component.ts
` constructor(private _apollo: Apollo) {}
}` } Any help appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This was a minor error from my side. Actually angular interceptor was replacing the original url with an empty string. Closing this issue. |
Beta Was this translation helpful? Give feedback.
This was a minor error from my side. Actually angular interceptor was replacing the original url with an empty string. Closing this issue.