Amit Kanala Amit Kanala - 1 year ago 178
Linux Question

Create folder api using egnyte but Generate error via linux

Generate this error by Terminal

Code Are as below

Input This Code :

curl -v -X POST -H "Authorization: Bearer tv6awqyxe9p2wfd8hhn94ftk" -H "Content-Type: aaction":"add_folder"}'

Output This Error

<h1>Developer Inactive</h1>

enter image description here

Answer Source

I have gone through the logs and I could see the error has invalid token.

Could you please get the auth token again and then run the command to add the folder?

curl -v --request POST -H "Content-Type: application/x-www-form-urlencoded" \-d grant_type=password -d username=test -d password='password' \-d client_id=the api key you have
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download