menu

Frame.io Developers

Frame.io is a video review and collaboration platform. Share video projects with your team and clients for fast feedback and approval. Use Frame.io's API to add custom features to your workflow!

Channels
# All channels
view-forward
# General
view-forward
# Feedback
view-forward
# Help
view-forward
# Show + Tell
view-forward
Team

Unable to update the presentation link (error: 404)

July 1, 2020 at 1:13pm

Unable to update the presentation link (error: 404)

July 1, 2020 at 1:13pm
I have an issue that unable to update the presentation link via API with confirmed I can successfully get details by using the following request: GET https://api.frame.io/v2/presentations/{LINK_ID} Authorization: Bearer {TOKEN}
I've got a 404 error using the following request: PUT https://api.frame.io/v2/presentations/{LINK_ID} Authorization: Bearer {TOKEN} Content-Type: application/json
{ "autoplay": "false", ... (any other) }
It seems there's the same issue on the document. https://docs.frame.io/reference#updatepresentation
Any help is appreciated, or if I misunderstand anything, please let me know. Thanks!

July 1, 2020 at 6:42pm
Hi Tsubasa! I think the issue that you're running into is related to where you're getting the id for the Presentation Link from. The ID displayed in the browser bar for a presentation link is just for the URL, the id of the presentation link itself is different.
For example, if you were to open up dev tools in the browser, and begin modifying your Presentation Link using the web app - you'll see API calls going to a link_id that is different that the link_id that would be displayed as part of the URL if you were to go to the Presentation Link page yourself.
The reason I'm rather sure of this is that I just tried pulling the ID from the URL myself, confirmed I got the 404, but then when I grabbed the correct ID - the update worked perfectly!
Let me know if this works :)
like-fill
1
  • reply
  • like

July 2, 2020 at 1:00am
Hi Jeff, I've found the actual id and confirmed it works! Thank you for the kind advice!
Edited
like-fill
1
  • reply
  • like

July 10, 2020 at 2:48am
Glad it worked !
  • reply
  • like