Comments (13)
Same issue here...
Also removing the data of the & does not make a difference.
./onedrive-authorize: line 14: ./libs/json/bash-json-parser: No such file or directory
Something went wrong, here is the API response:
{"error":"invalid_request","error_description":"Public clients can't send a client secret."}
from bash-onedrive-upload.
@Wsget: You must only enter the M7c53xxx7-x4xf-2867-3931-e0000000f0
part. If you did, we have to take a look at your registered apps settings.
@weismat: It seems like you are missing the submodule bash-json-parser
. Did you checkout the repository with the --recursive
parameter as stated in the Readme file?
from bash-onedrive-upload.
I copied the zip directory and the file was not included. I created in now manually and it is good to go. I am stuck now though at uploading files and always receive "Folder structure created, no files uploaded."
from bash-onedrive-upload.
weismat with my company login.
./onedrive-upload -r onedrive-upload test
No refresh token received from API. Please try again or re-authorize.
No refresh token received from API. Please try again or re-authorize.
No refresh token received from API. Please try again or re-authorize.
An error has occurred while uploading 'onedrive-upload' (Code: )
from bash-onedrive-upload.
./onedrive-authorize
Please open the following URL in your browser and follow the steps until you see a blank page:
https://login.live.com/oauth20_authorize.srf?client_id=1xxx0000-000x-0000-0000-0xxx000xx00x&scope=wl.offline_access%20onedrive.readwrite&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf
When ready, please enter the value of the code parameter (from the URL of the blank page) and press return
xx00xxx00-000x-00xx-x000-000000x00x00
Something went wrong, here is the API response:
{"error":"invalid_request","error_description":"Public clients can't send a client secret."}
And my apps settings
Authentication config
export api_client_id="0xxx0000-000x-0000-0000-0xxx000xx00x"
export api_client_secret="00XX0X00X000X0X0000X000000X000X000X0XX00"
api_client_secret is Application Secrets - Private Key. Is that right?
and api_client_id is Application Id. Is that right?
from bash-onedrive-upload.
App ID has always dash. So readme file need to update.
If your App ID contains dashes, you have created the wrong (unsupported) application type. Please take a look at this comment.
from bash-onedrive-upload.
When I go into this link
https://apps.dev.microsoft.com/#/appList
and click add an app
and after create application
An ID with a dash is created.
There is no "create your application in the Live SDK applications section" option.
I mean there is no other option.
So, take a look at this problem plz.
from bash-onedrive-upload.
Please use the link from the README file and try again: https://apps.dev.microsoft.com/#/appList/create/sapi
This should automatically ask for an application name without clicking Add an app
.
from bash-onedrive-upload.
Ok. I got it.
But when I upload file, always receive
"Folder structure created, no files uploaded"
message.
from bash-onedrive-upload.
Bug "Folder structure created, no files uploaded" found and fixed.
from bash-onedrive-upload.
Thank you very much for your quick help and support.
from bash-onedrive-upload.
Thx so much.
I will try.!
from bash-onedrive-upload.
It works great!
from bash-onedrive-upload.
Related Issues (20)
- "you need to add a new platform of type Mobile application" HOT 1
- The provided request must include a 'client_id' input parameter. HOT 1
- Auth problem
- Non-Issue - Confused on the instructions for setting up onedrive for business HOT 2
- An error has occurred while uploading 'test.txt' (Code: 000) HOT 6
- -f (folder) doesn't work
- business auth detail man please
- SharePoint Site
- 'grant_type' parameter must be included HOT 2
- LiveSDK deprecated
- Cannot authorize HOT 3
- Show an actual response message instead of a cryptic Code 400 error
- Unable to Authorize w/ 'code' HOT 2
- +500MB File Upload
- Setup for OneDrive personal need to be reviewed
- Decommisioned Discovery Service REST API for OneDrive for Business. HOT 2
- Can't add mobile platform HOT 1
- Is this tool being supported or abandoned? HOT 1
- Repo Dead Now HOT 1
- Can't register new app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bash-onedrive-upload.