Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

453
Views
How can i use my worker like an endpoint with aws-sdk?

I'm build a script with node js and I'am using Bacblaze b2 + cloudflare.

I followed this tutorial: https://www.backblaze.com/blog/use-a-cloudflare-worker-to-send-notifications-on-backblaze-b2-events/

And when i use backblaze postman api it works perfectly but when i configure my aws credential it doesn't work.

My aws credential configuration:

AWS.config = new AWS.Config({
    accessKeyId: "...",
    secretAccessKey: "...",
    region: "us-west-000",
    endpoint: "cloudflare-b2-proxy.<api name omitted>.workers.dev"
});

But if i use my s3 endpoit it works but if i use this endpoint i'll pay the bacblaze output ($0.01) but if i use my worker i don't have to pay anything but with aws-sdk doesn't work.

Error:

Error [XMLParserError]: Non-whitespace before first tag.

Line: 0

Column: 1

Char: e

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!