Skip to content

upload tutorial issues #8

@ghost

Description

I may well be missing something totally basic, but I'm having trouble with "Chapter 2" of the tutorial. I am unable to get either translating from client or translating on server to work. Even when I pull directly from the repo at v.1.0-workshop-client and supply my credentials (key + secret) in credentials.js, and then update the consumer key in upload.js (referring in this case to 2b translating on server) I get an error when I try to upload a file. It looks like this:

developer.api.autodesk.com/oss/v1/buckets:1 POST https://developer.api.autodesk.com/oss/v1/buckets 403 (Forbidden)
VM70:1 Uncaught SyntaxError: Unexpected token T in JSON at position 0
    at JSON.parse (<anonymous>)
    at XMLHttpRequest.xhr.onreadystatechange (Autodesk.ADN.Toolkit.ViewData.js:203)
xhr.onreadystatechange @ Autodesk.ADN.Toolkit.ViewData.js:203

Am I missing something? or has something changed since these tutorial files were created?

I'm a beginner with a lot of this so if I'm just being stupid I appreciate your patience :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions