Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while deleting the files from the parse db using CURL command given on the documentation #4689

Closed
ranand16 opened this issue Mar 31, 2018 · 1 comment

Comments

@ranand16
Copy link

ranand16 commented Mar 31, 2018

As per the REST API documentation, I tried to delete videos from my parse server using the curl command i.e;
curl -X DELETE
-H "X-Parse-Application-Id: ${APPLICATION_ID}"
-H "X-Parse-Master-Key: ${MASTER_KEY}"
https://YOUR.PARSE-SERVER.HERE/parse/files/...profile.png

I used my App Id, master key & parse server url where ever required in the above code. I got this error:-

{
"message": "Not Found",
"error": {}
}
I used postman application and windows command prompt for sending the curl command but resulted the same error each time.

Even querying a class( the basic of all ) also returns the same error.
{
"message": "Not Found",
"error": {}
}

@ranand16 ranand16 changed the title error while deleting the files from the parse db using CURL command givne on the documentation error while deleting the files from the parse db using CURL command given on the documentation Mar 31, 2018
@ranand16 ranand16 closed this as completed Apr 4, 2018
@ranand16 ranand16 reopened this Apr 4, 2018
@ranand16
Copy link
Author

ranand16 commented Apr 4, 2018

curl -X DELETE
-H "X-Parse-Application-Id: ${APPLICATION_ID}"
-H "X-Parse-Master-Key: ${MASTER_KEY}"
https://YOUR.PARSE-SERVER.HERE/files/...profile.png

The above command gave me the result. So, the documentation is incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant