4 months ago
Hi Railway Support,
Can you flip on public-API service creation for our workspace? I’m trying to call serviceCreate through backboard /graphql/v2 using an account token, but every request still returns:
{
"errors": [
{
"message": "Problem processing request",
"traceId": "9020404496062585008"
}
]
}
me and other read queries work, so auth is good; it looks like the workspace just isn’t allowed to create services through the public GraphQL endpoint yet.
Workspace: b0edfb60-27ba-4e24-b14e-6eec3123abe5
Trace ID: 9020404496062585008
Thanks!
Pinned Solution
4 months ago
Hey, the field isActive does not exist, please remove it and try again. I would recommend always using the GraphQL Playground at https://railway.com/graphiql or a community maintained SDK like https://github.com/kadumedim/railway-sdk or https://github.com/crisog/railway-sdk
7 Replies
4 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
Railway
Hey there! We've found the following might help you get unblocked faster: - [🧵 Frequent GraphQL API Rate Limiting (Error 1015) with Multi-Step Server Creation & Polling / Deletion](https://station.railway.com/questions/frequent-graph-ql-api-rate-limiting-erro-d4316760) - [🧵 Railway API Token Permissions Issue](https://station.railway.com/questions/railway-api-token-permissions-issue-4dfeffde) - [🧵 Help: "Problem processing request" when using serviceCreate mutation via Railway GraphQL API](https://station.railway.com/questions/help-problem-processing-request-when-ecb49af7) - [🧵 BUG: Railway CLI – persistent timeouts](https://station.railway.com/questions/bug-railway-cli-persistent-timeouts-ee55f265) If you find the answer from one of these, please let us know by solving the thread!
4 months ago
the answer seemed to be to contact support and request this to be flipped on &/or looked into, ty
4 months ago
I don't think this is something that needs to be "enabled", the only thing that can admin would do for ya is raise the rate limits. Can you share the mutation you are trying to use?
Status changed to Awaiting User Response Railway • 4 months ago
4 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 4 months ago
4 months ago
Hi guys, thanks for taking a look!
Here’s the stripped‑down mutation I’m sending to https://backboard.railway.com/graphql/v2:
mutation {
serviceCreate(input: {
projectId: "006a5721-7aca-4e57-9834-62d1c4c485f5"
}) {
id
name
isActive
}
}
Headers (token redacted here, but it’s a personal/team token generated from the account):
Authorization: Bearer <ACCOUNT_TOKEN>
Content-Type: application/json
(also tried adding X-Workspace-Id: b0edfb60-27ba-4e24-b14e-6eec3123abe5, no change)
Axios call:
await axios.post(
"https://backboard.railway.com/graphql/v2",
{ query: mutation },
{ headers }
);
Response is consistently:
{
"errors": [
{
"message": "Problem processing request",
"traceId": "9020404496062585008"
}
]
}
The same token works fine for me, projects, and environments, so auth seems good—just this mutation blows up. Let me know if the traceId points to anything on your side or if there’s additional input I should be providing.
tennkn
Hi guys, thanks for taking a look!Here’s the stripped‑down mutation I’m sending to https://backboard.railway.com/graphql/v2:mutation {serviceCreate(input: {projectId: "006a5721-7aca-4e57-9834-62d1c4c485f5"}) {idnameisActive}}Headers (token redacted here, but it’s a personal/team token generated from the account):Authorization: Bearer <ACCOUNT_TOKEN>Content-Type: application/json(also tried adding X-Workspace-Id: b0edfb60-27ba-4e24-b14e-6eec3123abe5, no change)Axios call:await axios.post("https://backboard.railway.com/graphql/v2",{ query: mutation },{ headers });Response is consistently:{"errors": [{"message": "Problem processing request","traceId": "9020404496062585008"}]}The same token works fine for me, projects, and environments, so auth seems good—just this mutation blows up. Let me know if the traceId points to anything on your side or if there’s additional input I should be providing.
4 months ago
Hey, the field isActive does not exist, please remove it and try again. I would recommend always using the GraphQL Playground at https://railway.com/graphiql or a community maintained SDK like https://github.com/kadumedim/railway-sdk or https://github.com/crisog/railway-sdk
passos
Hey, the field isActive does not exist, please remove it and try again. I would recommend always using the GraphQL Playground at https://railway.com/graphiql or a community maintained SDK like https://github.com/kadumedim/railway-sdk or https://github.com/crisog/railway-sdk
4 months ago
ty ty, moving to one of the SDKs, cheers
4 months ago
using com managed sdk i managed to get things done, thanks Passos
Status changed to Solved samgordon • 4 months ago