You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its issue in command line when trying to download schema
Steps to reproduce
I want to download the GraphQL schema, and generate the client code specifying the client name TestClient and I ran below command but it gives me error HTTP_ERROR: Response status code does not indicate success: 401 (Unauthorized).
Product
Strawberry Shake
Version
14.3.0
Link to minimal reproduction
Its issue in command line when trying to download schema
Steps to reproduce
I want to download the GraphQL schema, and generate the client code specifying the client name TestClient and I ran below command but it gives me error HTTP_ERROR: Response status code does not indicate success: 401 (Unauthorized).
dotnet graphql init https://********.com/api/v2/graphql -n TestClient
GraphQL API of partner needs Bearer Token and I tried many ways like below to run command but nothing works:
I even tried with Postman and send the token but it keep giving me same error 401.
Can someone suggest how to download the schema of API which required autorization using bearer token.
What is expected?
I need to know how to download the schema and generate client.
What is actually happening?
Its giving 401 error
Relevant log output
Additional context
error HTTP_ERROR: Response status code does not indicate success: 401 (Unauthorized).
The text was updated successfully, but these errors were encountered: