bbgun
bbgun
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
So I went through the actions in the dashboard, redeploying an existing environment works but creating a new environment gives me the same error I saw in the mutation above:
Failed to commit changes
Cannot create trigger for repo user does not have access to
Failed to commit changes
Cannot create trigger for repo user does not have access to
I ended up re-installing the Github App and that seems to have resolved the issue. Is this something thats expected to be needed every so often?
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
For my own understanding, is there a good place to stay up to date with deprecation/things getting outtdated?
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
Yeah, I understand. I wish that person was more responsive, I had tried to contact them mayn times for improvements and ended up just forking it myself.
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
I understand. First of all I appreciate you taking the time and helping Brody. Otherwise, please understand the frustration and friction that comes when things that work one day, just break the next and I have to rush a hotfix that I had not planned. I'm somewhat concerned now that the mutations that the dashboard uses now might break in the future, if they do I think API users would appreciate a heads up. Please take this as a constructive feedback to the team, I really like the Railway product otherwise.
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
Well actually I'm not sure the dashboard is the same action. I think the dashboard is redeploying an existing deployment, while the action tries to deploy a new version from github
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
Btw I notice I'm also getting the same error with another mutation:
{
"response": {
"errors": [
{
"message": "Cannot create trigger for repo user does not have access to",
"locations": [{ "line": 6, "column": 9 }],
"path": ["serviceInstanceRedeploy"],
"extensions": { "code": "INTERNAL_SERVER_ERROR" },
"traceId": "7925376593999893950"
}
],
"data": null,
"status": 200,
"headers": {}
},
"request": {
"query": "\n mutation serviceInstanceRedeploy(\n $environmentId: String!\n $serviceId: String!\n ) {\n serviceInstanceRedeploy(\n environmentId: $environmentId\n serviceId: $serviceId\n )\n }\n ",
"variables": {
"environmentId": "***",
"serviceId": "***"
}
}
}
{
"response": {
"errors": [
{
"message": "Cannot create trigger for repo user does not have access to",
"locations": [{ "line": 6, "column": 9 }],
"path": ["serviceInstanceRedeploy"],
"extensions": { "code": "INTERNAL_SERVER_ERROR" },
"traceId": "7925376593999893950"
}
],
"data": null,
"status": 200,
"headers": {}
},
"request": {
"query": "\n mutation serviceInstanceRedeploy(\n $environmentId: String!\n $serviceId: String!\n ) {\n serviceInstanceRedeploy(\n environmentId: $environmentId\n serviceId: $serviceId\n )\n }\n ",
"variables": {
"environmentId": "***",
"serviceId": "***"
}
}
}
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
yeah the ui dashboard does work
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
Also is this https://railway.app/graphiql interface is a recommended way to explore the API? I'm also getting auth errors there
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
Ok I can look into it. Do you believe that that's indeed the issue and not some other auth related issue though?
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
(also if thre's a more "official"/"stable" alternative for creating envs from github actions I'd definitely prefer to use that than rolling my own 😅 )
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
I already forked it since he's unresponsive. I can make the necessary changes, what are the unintended mutations?
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
I guess I can remove the integration, reinstall it and retry if you think that might help?
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
Double checked
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
Yes
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
No description
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
So the GraphQL API request was done using my personal railway auth token
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
No description
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
Yes I'm the owner of that repo
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
The last error I had was for pr-331
42 replies
RRailway
Created by bbgun on 8/16/2024 in #✋|help
Error on environmentCreate GraphQL Mutation
One sec let me find the right one
42 replies