Getting a File Request API - 404 Not Found Error

回答済み
新規投稿

コメント

4件のコメント

  • Mary Fossbender

    Hey Team Bordr, might try the following, if you haven't already. 

    1. go to the folder where the file request object was created, then click the File Request icon
    2. Click Edit
    3. Your URL should then be something like https://app.box.com/filerequest/[file request object id is here]
      The file request object's id is at the end of that link.


    0
    コメントアクション パーマリンク
  • Thomas OConnor

    Hi we are getting exactly the same error. My file request URLs are `/f/<request id>` rather than `filerequest/[file request object id is here]`. Using the Python SDK our request looks like this:

    json_response = client.make_request(
    'POST',
    client.get_url('file-requests', template_id, 'copy'),
    data=json.dumps({
    "title": f"Upload your files to for case {case_id}",
    "description": "Files will be deleted after 24 hrs of upload.",
    "status": "active",
    "folder": {
    "id": folder.id
    }
    })
    ).json()

    Our template link Is active and accessible. Team Bordr were you able to resolve this?

    0
    コメントアクション パーマリンク
  • Thomas OConnor

    Note connecting as user

     

    client = Client(CCGAuth(
    client_id=client_id,
    client_secret=client_secret,
    user=user_id
    ))
    folder = create_folder(client, case_id)
    0
    コメントアクション パーマリンク
  • Thomas OConnor

    Seems like you must use the link on the edit page. 

    0
    コメントアクション パーマリンク

投稿コメントは受け付けていません。