floci-io/floci · error · AwsException
RequestTokenNotFoundException
RequestTokenNotFoundException
Error message
Request token {requestToken} was not found. What it means
Error "Request token {requestToken} was not found." thrown in floci-io/floci.
Source
Thrown at src/main/java/io/github/hectorvent/floci/services/cloudcontrol/CloudControlService.java:201
// The delete would no-op. Reporting SUCCESS over a resource that is still there is the
// worse failure, so surface it instead.
return record(new ProgressEvent(typeName, identifier, UUID.randomUUID().toString(),
"DELETE", "FAILED",
"DeleteResource for " + typeName + " needs create-time state that Cloud Control does "
+ "not hold for " + identifier + ".", null));
}
provisioner.deleteStandalone(typeName, identifier, region, attributes);
created.remove(key);
return record(new ProgressEvent(typeName, identifier,
UUID.randomUUID().toString(), "DELETE", "SUCCESS", null, null));
}
/** Cloud Control {@code GetResourceRequestStatus}. */
public ProgressEvent requestStatus(String requestToken) {
ProgressEvent event = requests.get(requestToken);
if (event == null) {
throw new AwsException("RequestTokenNotFoundException",
"Request token " + requestToken + " was not found.", 404);
}
return event;
}
/** Cloud Control {@code GetResource}: a single resource from the read side, by identifier. */
public ResourceDescription getResource(String region, String typeName, String identifier) {
for (ResourceDescription d : listResources(region, typeName)) {
if (d.identifier().equals(identifier)) {
return d;
}
}
// CreateResource provisions the whole CFN type set while the read side lists six types, so
// fall back to what the create recorded — otherwise a successful create is unreadable.
CreatedResource state = created.get(createdKey(region, typeName, identifier));
if (state != null) {
return new ResourceDescription(identifier, state.model());
}View on GitHub (pinned to 62ff490619)
Solutions
- Verify the request token via ListResourceRequests.
- Repeat the operation with a new RequestToken.
When it happens
Trigger: Thrown at src/main/java/io/github/hectorvent/floci/services/cloudcontrol/CloudControlService.java:201 when the library encounters an invalid state.
Common situations: Occurs when GetResourceRequestStatus is called with an unknown RequestToken. Use the token returned by the original mutating request.
AI-assisted analysis of floci-io/floci@62ff490619 (2026-08-14).
Data as JSON: /api/errors/b97329270da469de.
Report an issue: GitHub.