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

API response contains unparsable error.data string #6

Open
awongh opened this issue Jul 15, 2016 · 0 comments
Open

API response contains unparsable error.data string #6

awongh opened this issue Jul 15, 2016 · 0 comments

Comments

@awongh
Copy link

awongh commented Jul 15, 2016

The string contents of error.data look like a json object, but it is actually unparsable.

I made an example of something similar I am trying to do here: awongh@5ecee61

The specific string I am seeing is:

"{"result":"failure","reason":"You attempted to upload the file \"example\" which has an unsupported or missing file extension. We currently only support STL, OBJ, X3D, Collada, VRML97, VRML2 and ZIP file formats. Please ensure that your files are of one of our supported formats with the correct file extensions. If you can't export to those formats, please see our tutorial \"<a href='\/tutorials\/converting-with-accutrans-3d'>Converting with AccuTrans<\/a>\"."}{"result":"failure","reason":"Model Upload Failed. (Reason: 100)"}"

Can error.data be a valid json parseable string?

Thanks.

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