422 error when embedding

Tony
I am embedding a simple Threekit player and encounter this error: GET https://admin.threekit.com/api/cas/aac6c766-edd2-463a-889f-35ab1d24a55?type=Node&bearer_token={TOKEN} 422 {"status":422,"code":"invalid_parameters",…

Comments

3 comments

  • Comment author
    Tony

    I am embedding a simple Threekit player and encounter this error:

    GET https://admin.threekit.com/api/cas/aac6c766-edd2-463a-889f-35ab1d24a55?type=Node&bearer_token={TOKEN} 422

    {"status":422,"code":"invalid_parameters","message":"Invalid parameters in the request"}

    0
  • Comment author
    William Thompson

    Make sure all the parameters for your embedding are correct. Double check your assetId and stageId if you are embedding with one.

    0
  • Comment author
    Matthew Seeger

    Make sure that the token you are using is a Public token and the right one for your domain. If you open your browser console and run window.location.host you’ll get the host that you should use when creating your token

     

    0

Please sign in to leave a comment.