Please help me fixing my code.

Please help me fixing my code.

hariQMX5A
Explorer Explorer
473 Views
3 Replies
Message 1 of 4

Please help me fixing my code.

hariQMX5A
Explorer
Explorer

hariQMX5A_0-1740672466639.png

hariQMX5A_1-1740672508808.png

I managed to get the access token, but my code fails to post data to tandem.
What maybe the reason in this case.

@AdamPeter 

0 Likes
Accepted solutions (1)
474 Views
3 Replies
Replies (3)
Message 2 of 4

eimhin_raffertyC7GFZ
Autodesk
Autodesk

Hello @hari , based on your information here and the error code, could you confirm that your APS client is added to the tandem facility or account? 

See the link below: (its specific to Tandem connect but the principal is the same i believe) 

 

 

https://help.autodesk.com/view/TANDEM/ENU/?guid=Tandem_Connect_Getting_Started_Tutorials_tutorial_we....

 

Message 3 of 4

jan.liska
Autodesk
Autodesk
Accepted solution

As discussed via call - when sending stream data using Webhook Integration you don't need to create APS token but use authentication token obtained from Webhook Integration dialog. In this case it uses Basic authentication. You can check out sample code here.

 

Using APS token is possible - as Eimhin suggested check if APS application is added to your facility or account with appropriate permission (write or manage). The sample code can be found here.


Jan Liska
Developer Advocate, Autodesk Tandem

Message 4 of 4

hariQMX5A
Explorer
Explorer

Thank you both, I have managed to find the solution
@jan.liska @eimhin_raffertyC7GFZ