Backblaze B2 - parameter verification errors (400)

Aug 9, 2025
1
0
1
I keep getting the following when trying to add a S3 backed datastore:

parameter verification errors (400)

backend: schema validation failed: Bucket name does not match the regex pattern

No matter what I try, I can't get the error to disappear.

Thanks in advance!

PBSError.png
 
Hi,
please use an all lower case characters in bucket names, the PBS S3 client implementation tries to stick to the bucket naming rules as defined in https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
Hey,
but the rules in your link states:
  • Bucket names can consist only of lowercase letters, numbers, periods (.), and hyphens (-).
Why nevertheless are periods and hyphens not allowed in the PBS client?

Greetings
Stefan
 
I am running into the same issue adding our S3 storage to PBS. I have added the endpoint, and when I create the datastore all of my BackBlaze buckets are visible. I set the name of the datastore to be all lowercase, yet I get the same error you provided. Did you every find a fix?

Thank you.