Questions tagged [boxapiv2]

Box API V2 using oAuth 2.0

Box offers a new API V2, following the oAuth 2.0 protocol. The previous version of Box APIs (V1) has been deprecated in favor of the new V2 API as of January 2014.

152 questions
2
votes
4 answers

OpenSSL unable to verify data: error:0906D06C:PEM routines:PEM_read_bio:no start line in Box API

Im getting the above error when sending the following body to the Box OAuth /token…
Paul Pogonoski
  • 121
  • 2
  • 10
2
votes
1 answer

Box API Saver popup

Is there anything available in the Box API equivalent to this Dropbox Saver? https://www.dropbox.com/developers/dropins/saver I want users to be able to pick a specific folder to upload to. If not is there any other way to achieve this?
2
votes
1 answer

Trouble creating a folder in Box.com using jQuery?

I am building a web app using the Box API, but I'm having trouble simply creating a folder in the root directory. The token is set to a developer token which should be active. The error I'm receiving now is Bad Request. What is wrong with this code?…
Jamie
  • 230
  • 1
  • 11
2
votes
0 answers

Box.com file download using the Java API lib freezes

I am trying to download a large number of files from a Box.com user account. It works fine most of the time, but sometimes the download just freezes. This is the call that is stalling: boxClient.getFilesManager().downloadFile(itemId,…
popstr
  • 1,000
  • 9
  • 17
2
votes
1 answer

Overriding box redirect url in the oauth redirect

I can define a url as defined in here: http://developers.box.com/oauth/ and if I don't specify a redirection in the url, that is what is going to be used, but what happens if I specify a redirection url during application creation AND in the URL?…
Alexandre Santos
  • 8,170
  • 10
  • 42
  • 64
1
vote
1 answer

BoxV2 .Net API RefreshAccessTokenAsync() method throws Object reference Error

I am using BoxV2 .Net SDK. When I attempt refresh AcccessToken, I get an Object reference not set to an instance of an object error. There is no inner exception details. Below line of code is throwing error. Can anyone advice what is wrong with the…
Jith
  • 1,701
  • 3
  • 16
  • 22
1
vote
0 answers

How to upload files to box using android API

How do I upload a file to a box account using the android API on android studio? So far I have done: BoxConfig.CLIENT_ID = "ID"; BoxConfig.CLIENT_SECRET = "Secret Key"; BoxConfig.REDIRECT_URL = "ReDirect"; BoxSession session = new…
Aaron Huh
  • 11
  • 1
1
vote
1 answer

Box API upload files to admin account instead of APP

Hey I use the Box API and I successfull to upload my files but they are stored at the app storage folder. If you would go to the admin-console and then click the folder Icon you can see the admin folder and then the folder of the created app. How…
t33n
  • 270
  • 1
  • 3
  • 17
1
vote
1 answer

Using box API without registering application with admin

My company uses Box internally for managing a variety of documents. I created a script that reads a boxnote (which I am an editor of, and other users edit) periodically and emails me certain properties about that boxnote (i.e. it downloads the…
Daniel Kats
  • 5,141
  • 15
  • 65
  • 102
1
vote
1 answer

How to get the BoxFileVersion object of the previous version by using the version number and fileID using Box-SDK?

I can get the current version of the file using the code below? BoxFile file = new BoxFile(api,fileId); BoxFile.Info info = file.getInfo("version_number","file_version"); info.getVersionNumber(); // current version No. Now I wanted to fetch the…
1
vote
1 answer

write a script to send files to box application by automatic developer token generation

Requirement: I need a script that sends files to box. So far, i managed to send the files to box by following https://docs.box.com/docs/getting-started-box-integration . I am using box-python-sdk to acheive this, but i have to use this developer…
Kiran Kumar
  • 127
  • 3
  • 14
1
vote
1 answer

How to get the version number of the file using BOX-SDK?

BoxFileVersion CLASS doesn't seem to have a method to get the name of the version ("V1", "V2" etc). I can see that BoxFile.Info has a getVersionNumber() method but this just returns a null.
arunmk
  • 13
  • 5
1
vote
1 answer

Calling the Box API with a valid user access token

I am using JWT to authenticate with the Box API because I do not want my users to have to explicitly log in with their credentials (as you have to with OAuth2). My issue is that the User Access token is only valid for 60 seconds. So, does that…
Sofia Clover
  • 669
  • 1
  • 7
  • 18
1
vote
1 answer

Use box api oauth without making the user enter credentials

I am trying to use the Box SDK For Android but it always makes me enter my Box credentials (username and password). How can I make it so that I don't have to enter a username and password each time. Their documentation is really confusing.
Sofia Clover
  • 669
  • 1
  • 7
  • 18
1
vote
0 answers

Box API to simulate the event of item_preview

I need an help with the Box API. I am trying to generate an event of item preview using python for my box app. I am currently able to capture all the item preview events using the long polling way,…
1
2
3
10 11