Are you getting a "cos_write_test_failed" error when trying to create a COS target?
When creating or validating an IBM Cloud Object Storage target, the message Your request to test a target has failed because the target details are not valid. The service could not write to the Cloud Object Storage bucket that is configured.
with a code of cos_write_test_failed
is returned.
Your request fails with an error message that indicates a problem with the IBM Cloud Object Storage bucket.
You will receive this error if you try to create an IBM Cloud Object Storage target that has no quota. You will also receive this error if the authorization is not set or is misconfigured when using service-to-service authorization (--service-to-service-enabled TRUE
).
This message is also received if run the ibmcloud atracker target validate --target <target name or ID>
command and there is no quota available to upload the data to the target bucket.
Resolve the quota or authorization issues with your IBM Cloud Object Storage bucket and retry the request.