Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting unauthorized #2

Open
ourialkada opened this issue Jul 28, 2021 · 4 comments
Open

getting unauthorized #2

ourialkada opened this issue Jul 28, 2021 · 4 comments

Comments

@ourialkada
Copy link

No description provided.

@69
Copy link
Owner

69 commented Jul 30, 2021

Hi, the module still seems to be working just fine for me. Could you be a bit more specific as to where you are getting an Unauthorized error?

@AbsoluteDestiny
Copy link

I also have this problem but I know why - the storage api has different urls depending on the region the zone is in see https://docs.bunny.net/reference/storage-api

This means that the baseurl could be any of:

storage.bunnycdn.com
ny.storage.bunnycdn.com
la.storage.bunnycdn.com
sg.storage.bunnycdn.com
syd.storage.bunnycdn.com

so to support other zones, this would need to be configurable.

@69
Copy link
Owner

69 commented Aug 4, 2021

I added an option to specify the primary region in 8f139e0. Could you check it out and see if this fixes it?

@joshlit
Copy link

joshlit commented Aug 25, 2021

I'm trying to set thinsg up and I'm getting the same issue. I'm running on ny storage zone and I've set that but still nada.

Any idea? cheers.

Edit: nvm. You'll get 'Unauthorized' if you're trying to use the API from a browser (their servers check for referer header)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants