Forum Discussion
Stoplight
9 months agoCommunity Manager
Nananana (OP) [01/09/2024 - 07:46 ET]
I copied the request throwing the error from Chrome Inspect, so if anyone has an idea of how to edit it to make it work, I would appreciate that:
curl 'https://tripstax.stoplight.io/graphql' \
-H 'bunch of headers I'm removing for brevity'
--data-raw $'{"query":"mutation ConnectIntegration($usernameOrEmail: String, $password: String, $code: String, $workspaceIntegrationId: Int\u0021) {\\n connectExternalAccount(\\n input: {workspaceIntegrationId: $workspaceIntegrationId, usernameOrEmail: $usernameOrEmail, password: $password, code: $code}\\n ) {\\n token\\n userId\\n __typename\\n }\\n}","operationName":"ConnectIntegration","variables":{"code":"f6febb5360b3859161b1","workspaceIntegrationId":713378}}' \
This returns the error:
{
"data": null,
"errors": [
{
"extensions": {
"code": "INTERNAL_SERVER_ERROR"
},
"locations": [
{
"column": 140,
"line": 1
}
],
"message": "syntax error at or near \")\"",
"path": [
"connectExternalAccount"
]
}
]
}
Related Content
- 6 years ago
- 9 months ago
- 9 months ago
- 9 months ago
Recent Discussions
- 10 days ago
- 29 days ago