hi ,
i am using java sdk , version is 10.1.0
i am question
first type, token is expired type
this is keep tring... so calls don't end
Why do you keep call ?
second type,
we using, the google access api level is standard.
but, Too many requests error Occurs
Occurs when using certain methods.
why not access level error ?
this is using code
customerService.getCustomer( ...) call error -> assess level
for (String customerResourceName : response.getResourceNamesList()) {
try {
Long customerId = Long.parseLong(CustomerName.parse(customerResourceName).getCustomerId());
// Accessible customer id 검증
Customer customer = customerService.getCustomer(customerResourceName);
seedCusterIds.add(customerId);
log.debug("Customer resource customer Id: {} ", customerId);
log.debug("Customer resource customer Id: {} name = {} ", customerId, customer.getDescriptiveName());
} catch (Exception e) {
//log.error("Accessible customer id 검증 = {}", e.getMessage());
}
integer.getAndIncrement();
}
this is error code
Headers: Metadata(content-type=application/grpc,request-id=HQ0f7cy28crSh1ZGQv1YNw,date=Tue, 29 Dec 2020 09:49:10 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
error_code {
quota_error: RESOURCE_EXHAUSTED
}
message: "Too many requests. Retry in 1353 seconds."
details {
quota_error_details {
rate_scope: DEVELOPER
rate_name: "Get requests for standard access"
retry_delay {
seconds: 1353
}
}
}
}
thank you.