Skip to content

copydocs erroring with 403 forbiden #11628

@cdrini

Description

@cdrini

Problem

No matter what I try it seems to error:

openlibrary@3c41f80fd2a2:/openlibrary$ PYTHONPATH=. ./scripts/copydocs.py /works/OL18044293W
fetching ['/works/OL18044293W']
copying edition keys
fetching ['/books/OL59561225M', '/books/OL49850103M', '/books/OL24166933M']
found references ['/works/OL18044293W']
found references ['/authors/OL2391842A']
fetching ['/authors/OL2391842A']
saving ['/authors/OL2391842A']
Something went wrong saving this batch! 403 Client Error: Forbidden for url: http://localhost:8080/api/save_many. Response: Permission Denied
Batch keys: ['/authors/OL2391842A']
saving ['/works/OL18044293W']
Something went wrong saving this batch! 403 Client Error: Forbidden for url: http://localhost:8080/api/save_many. Response: Permission Denied
Batch keys: ['/works/OL18044293W']
saving ['/books/OL59561225M', '/books/OL24166933M', '/books/OL49850103M']
Something went wrong saving this batch! 403 Client Error: Forbidden for url: http://localhost:8080/api/save_many. Response: Permission Denied
Batch keys: ['/books/OL59561225M', '/books/OL24166933M', '/books/OL49850103M']
found references ['/authors/OL2391842A']
saving []
saving []

Reproducing the bug

  1. Go to ...
  2. Do ...
  • Expected behavior:
  • Actual behavior:

Context

  • Browser (Chrome, Safari, Firefox, etc):
  • OS (Windows, Mac, etc):
  • Logged in (Y/N):
  • Environment (prod, dev, local): prod

Breakdown

Requirements Checklist

  • [ ]

Related files

Stakeholders


Instructions for Contributors

  • Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Lead: @jimchampIssues overseen by Jim (Front-end Lead, BookNotes) [managed]Needs: BreakdownThis big issue needs a checklist or subissues to describe a breakdown of work. [managed]Priority: 1Do this week, receiving emails, time sensitive, . [managed]Type: BugSomething isn't working. [managed]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions